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

Skip to content

Commit 9475dbf

Browse files
author
Jon La Marr
committed
Standardize scripts
1 parent 96bc374 commit 9475dbf

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
],
1313
"license": "MIT",
1414
"scripts": {
15-
"build": "webpack --config webpack.config.react.js",
16-
"example": "webpack-dev-server --config webpack.config.react.js",
17-
"lint": "eslint ../src/**/*.js"
15+
"build": "rm -rf build && webpack --config webpack.config.react.js",
16+
"lint": "eslint ../src/**/*.js",
17+
"example": "webpack-dev-server --config webpack.config.react.js"
1818
},
1919
"devDependencies": {
2020
"@babel/core": "^7.8.7",

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@
1212
],
1313
"license": "MIT",
1414
"scripts": {
15-
"ts-build": "tsc --build tsconfig.json",
16-
"build": "babel src --out-dir dist --source-maps",
15+
"build": "rm -rf dist && babel src --out-dir dist --source-maps",
1716
"lint": "tslint -c tslint.json -p tsconfig.json",
1817
"test": "jest",
19-
"watch-test": "jest --watch --verbose=true",
20-
"eslint": "eslint src/**/*.js",
2118
"prepare": "yarn build",
2219
"docs": "jsdoc src -r -d docs"
2320
},

0 commit comments

Comments
 (0)