Skip to content

Commit

Permalink
perf(plugin): remove np module from all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 committed Jan 4, 2019
1 parent bbf066c commit 3d28d26
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 18 deletions.
5 changes: 2 additions & 3 deletions packages/@weex/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"release": "yarn build && yarn lint && np --yolo --no-yarn --any-branch",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"integrate": "jest -c jest-integration.config.json",
"test": "jest",
"test:watch": "DEBUG=device jest --watch",
"watch": "tsc -watch -p ./"
},
"author": "Erha19 <faterrole@gmail.com>",
"author": "Mario <faterrole@gmail.com>",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -82,7 +82,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/@weex/plugins/compile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"release": "yarn build && yarn lint && np --yolo --no-yarn --any-branch",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down Expand Up @@ -45,7 +45,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@weex/plugins/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"format": "eslint ./src --fix",
"lint": "eslint ./",
"prepublish": "npm run format && cd frontend && npm run compile"
"publish": "npm run format && cd frontend && npm run compile"
},
"author": "Mario <faterrole@gmail.com>",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/@weex/plugins/device/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"prepublish": "yarn build && yarn lint",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down
3 changes: 1 addition & 2 deletions packages/@weex/plugins/doctor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"publish": "yarn build && yarn lint && np --yolo --no-yarn --any-branch",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand All @@ -36,7 +36,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/@weex/plugins/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"prepublish": "npm run compile",
"publish": "npm run compile",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down Expand Up @@ -44,7 +44,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/@weex/plugins/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"release": "yarn build && yarn lint && np --yolo --no-yarn",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down Expand Up @@ -39,7 +39,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@weex/plugins/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"prepublish": "yarn build && yarn lint",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down
3 changes: 1 addition & 2 deletions packages/@weex/plugins/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"release": "yarn build && yarn lint && np --yolo --no-yarn ----access=public --any-branch",
"release": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down Expand Up @@ -45,7 +45,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/@weex/plugins/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"coverage": "jest --coverage",
"format": "prettier --write \"**/*.ts\" --loglevel error && tslint -p . --fix",
"lint": "tslint -p .",
"publish": "yarn build && yarn lint && np --yolo --no-yarn --any-branch ----access=public",
"publish": "yarn build && yarn lint",
"precommit": "lint-staged",
"snapupdate": "jest --updateSnapshot",
"test": "jest",
Expand Down Expand Up @@ -38,7 +38,6 @@
"expect": "^23.1.0",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"np": "^3.0.4",
"prettier": "^1.14.0",
"ramdasauce": "^2.1.0",
"sinon": "^5.1.0",
Expand Down

0 comments on commit 3d28d26

Please sign in to comment.