Skip to content

Commit 2862c94

Browse files
committed
bundle scripts updated
1 parent a39d4b0 commit 2862c94

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
"postinstall": "jspm install && typings install",
1313
"precommit": "npm run lint",
1414
"prepush": "npm run lint && npm test",
15-
"bundle-dev": "./node_modules/.bin/jspm bundle dev-bundle.config.js out/dev-bundle.js -id",
16-
"unbundle": "./node_modules/.bin/jspm unbundle",
17-
"bundle-deps": "./node_modules/.bin/jspm bundle react + react-dom dist/deps-bundle.js --minify --skip-source-maps",
18-
"bundle-app": "./node_modules/.bin/jspm bundle src/app - react-dom dist/app-bundle.js --minify --skip-source-maps",
19-
"bundle-app-debug": "./node_modules/.bin/jspm bundle src/app - react-dom dist/app-bundle.js",
15+
"bundle-dev": "jspm bundle dev-bundle.config.js out/dev-bundle.js -id",
16+
"unbundle": "jspm unbundle",
17+
"bundle-deps": "jspm bundle react + react-dom dist/deps-bundle.js --minify --skip-source-maps",
18+
"bundle-app": "jspm build src/app - react - react-dom - plugin-typescript dist/app-bundle.js --minify --skip-source-maps",
19+
"bundle-app-debug": "jspm build src/app - react - react-dom - plugin-typescript dist/app-bundle.js",
2020
"build": "npm run bundle-app && npm run regenerator",
21+
"build-debug": "npm run bundle-app-debug",
2122
"build-deps": "npm run unbundle && cp jspm_packages/system.js dist/ && cp jspm.config.js dist/ && npm run bundle-deps && npm run bundle-dev",
2223
"regenerator": "cd out && cp ../dist/app-bundle.js . && regenerator -r app-bundle.js > app-bundle.regenerator.js && cp app-bundle.regenerator.js ../dist/app-bundle.js",
2324
"init-deploy": "mkdir dist && git clone https://github.com/piotrwitek/react-ts-jspm-starter-kit --branch gh-pages dist",

0 commit comments

Comments
 (0)