Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b48d13

Browse files
author
Eric Prud'hommeaux
committed
~ get rid of prepublish scripts
1 parent f881a65 commit 8b48d13

7 files changed

Lines changed: 4 additions & 11 deletions

File tree

packages/common-generator/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"access": "public"
1515
},
1616
"scripts": {
17-
"build": "tsc -b ./tsconfig.package.json",
18-
"prepublish": "npm run build"
17+
"build": "tsc -b ./tsconfig.package.json"
1918
},
2019
"gitHead": "f04f018b7655bccbf21e4fe9dab005b8ee179fab",
2120
"homepage": "https://github.com/ericprud/ts-jison/",

packages/common/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"access": "public"
1212
},
1313
"scripts": {
14-
"build": "tsc -b ./tsconfig.package.json",
15-
"prepublish": "npm run build"
14+
"build": "tsc -b ./tsconfig.package.json"
1615
},
1716
"homepage": "https://github.com/ericprud/ts-jison/",
1817
"contributors": [

packages/lex-parser/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"types": "./src/lex-parser.ts",
77
"scripts": {
88
"build": "make build",
9-
"prepublish": "npm run build",
109
"test": "make test"
1110
},
1211
"repository": {

packages/lexer-generator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
},
4747
"scripts": {
4848
"build": "echo nothing to build in lexer-generator",
49-
"prepublish": "npm run build",
5049
"test": "node ./tests/all-tests"
5150
},
5251
"homepage": "https://github.com/ericprud/ts-jison/",

packages/lexer/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"access": "public"
1515
},
1616
"scripts": {
17-
"build": "tsc -b ./tsconfig.package.json",
18-
"prepublish": "npm run build"
17+
"build": "tsc -b ./tsconfig.package.json"
1918
},
2019
"homepage": "https://github.com/ericprud/ts-jison/",
2120
"author": "Zach Carter",

packages/parser-generator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
},
5353
"scripts": {
5454
"build": "echo nothing to build in parser-generator",
55-
"prepublish": "npm run build",
5655
"js-calculator-demo": "npm run generate:js-calculator && npm run cli:js-calculator",
5756
"generate:js-calculator": "(cd examples/ && ../lib/cli.js -n JsCalc -o js-calculator.js js-calculator.jison)",
5857
"run:js-calculator": "(cd examples/ && node js-calculator.js calculator.input.txt)",

packages/parser/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"access": "public"
1616
},
1717
"scripts": {
18-
"build": "tsc -b ./tsconfig.package.json",
19-
"prepublish": "npm run build"
18+
"build": "tsc -b ./tsconfig.package.json"
2019
},
2120
"homepage": "https://github.com/ericprud/ts-jison/",
2221
"contributors": [

0 commit comments

Comments
 (0)