mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-31 09:44:21 +00:00
Fix npm scripts
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ Development commands:
|
|||||||
* `npm run build` – build the library
|
* `npm run build` – build the library
|
||||||
* `npm run dev` – start the dev server and develop against live examples
|
* `npm run dev` – start the dev server and develop against live examples
|
||||||
* `npm run lint` – run the linter
|
* `npm run lint` – run the linter
|
||||||
* `npm run specs:watch` – run and watch the unit tests
|
* `npm run test:specs` – run and watch the unit tests
|
||||||
|
|
||||||
Please follow this process for submitting a patch:
|
Please follow this process for submitting a patch:
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -7,12 +7,12 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rm -rf ./dist && NODE_ENV=publish webpack --config config/webpack.config.publish.js --sort-assets-by --progress",
|
"build": "rm -rf ./dist && webpack --config config/webpack.config.publish.js --sort-assets-by --progress",
|
||||||
"dev": "webpack-dev-server --config config/webpack.config.example.js --inline --colors --quiet",
|
"dev": "webpack-dev-server --config config/webpack.config.example.js --inline --colors --quiet",
|
||||||
"lint": "eslint config src",
|
"lint": "eslint config src",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "NODE_ENV=publish npm run build",
|
||||||
"specs": "NODE_ENV=test karma start config/karma.config.js",
|
"test:specs": "NODE_ENV=test karma start config/karma.config.js",
|
||||||
"specs:watch": "npm run specs -- --no-single-run",
|
"test:specs:watch": "npm run test:specs -- --no-single-run",
|
||||||
"test": "npm run specs && npm run lint"
|
"test": "npm run specs && npm run lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user