Skip to content

Commit 1ad999d

Browse files
committed
chore: more scripts
1 parent 6a5bd2b commit 1ad999d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
"ci": "npm run e2e && npm run test",
3535
"docs": "typedoc --options typedoc.json --exclude **/*.spec.ts ./src/",
3636
"start": "npm run server:dev",
37-
"fix:ng2": "rimraf node_modules/angular2/manual_typings node_modules/angular2/typings node_modules/angular2/bundles/typings && ncp src/.ng2-patch node_modules && replace '5.0.0-beta.0' '5.0.0-beta.1' node_modules -r",
37+
"fix:rx": "node_modules/.bin/replace '5.0.0-beta.0' '5.0.0-beta.1' node_modules -r",
38+
"fix:ng2-patch": "node_modules/.bin/ncp src/.ng2-patch node_modules",
39+
"fix:ng2-clean": "node_modules/.bin/rimraf node_modules/angular2/manual_typings node_modules/angular2/typings node_modules/angular2/bundles/typings",
40+
"fix:ng2": "npm run fix:ng2-clean && npm run fix:ng2-patch && npm run fix:rx",
3841
"pretypings-install": "npm run fix:ng2",
3942
"typings-install": "typings install",
4043
"postinstall": "npm run typings-install && npm run fix:ng2"

0 commit comments

Comments
 (0)