Skip to content

Commit 586c778

Browse files
chore(publish): use run-s from npm-run-all
1 parent ce44b8c commit 586c778

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
"description": "State-based routing for Angular",
44
"version": "1.0.0-beta.8",
55
"scripts": {
6-
"clean": "shx rm -rf lib lib-esm _bundles _dec",
6+
"clean": "shx rm -rf lib lib-esm _bundles _doc",
77
"compile": "npm run clean && ngc",
88
"bundle": "rollup -c && rollup -c --environment MINIFY",
9-
"fixmaps": "modify_sourcemap_paths",
10-
"build": "npm run compile && npm run bundle && npm run fixmaps",
11-
"release": "release",
9+
"fixmaps:lib": "tweak_sourcemap_paths -a --include 'lib/**/*.js.map' 'lib-esm/**/*.js.map'",
10+
"fixmaps:bundle": "tweak_sourcemap_paths -a --include '_bundles/**/*.js.map'",
11+
"build": "run-s compile bundle fixmaps:*",
12+
"release": "release --deps @uirouter/core",
1213
"travis": "npm run build && npm run noimplicitany && npm run test",
1314
"test": "karma start",
1415
"noimplicitany": "tsc --noEmit --noImplicitAny --moduleResolution node --target es6 test/noimplicitany.ts",

0 commit comments

Comments
 (0)