Skip to content

Commit 99dd657

Browse files
committed
Merge pull request #396 from plotly/better-preversion
Improve pre-version lifecycle step
2 parents fb87442 + 4f60d73 commit 99dd657

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"preprocess": "node tasks/preprocess.js",
2525
"bundle": "node tasks/bundle.js",
2626
"header": "node tasks/header.js",
27-
"build": "npm dedupe && npm run preprocess && npm run bundle && npm run header",
27+
"build": "npm run preprocess && npm run bundle && npm run header",
2828
"cibuild": "node tasks/cibundle.js",
2929
"watch": "node tasks/watch_plotly.js",
3030
"lint": "eslint . || true",
@@ -38,6 +38,7 @@
3838
"start-test_dashboard": "node devtools/test_dashboard/server.js",
3939
"start-image_viewer": "node devtools/image_viewer/server.js",
4040
"baseline": "./tasks/baseline.sh",
41+
"preversion": "npm-link-check && npm dedupe",
4142
"version": "npm run build && git add -A dist src build",
4243
"postversion": "git push && git push --tags"
4344
},
@@ -94,6 +95,7 @@
9495
"karma-firefox-launcher": "^0.1.6",
9596
"karma-jasmine": "^0.3.6",
9697
"node-sass": "^3.4.1",
98+
"npm-link-check": "^1.1.0",
9799
"open": "0.0.5",
98100
"prepend-file": "^1.3.0",
99101
"prettysize": "0.0.3",

0 commit comments

Comments
 (0)