moved Angular routes to separate module; load Webpack bundle before other main scripts
This commit is contained in:
parent
8dc9cf21d7
commit
615e233671
14 changed files with 186 additions and 167 deletions
|
@ -5,7 +5,7 @@
|
|||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"test": "./node_modules/.bin/karma start --single-run --browsers PhantomJS",
|
||||
"test:node": "./node_modules/.bin/jasmine-ts './static/js/**/*.spec.ts'",
|
||||
"test:node": "JASMINE_CONFIG_PATH=static/test/jasmine.json ./node_modules/.bin/jasmine-ts './static/js/**/*.spec.ts'",
|
||||
"build": "./node_modules/.bin/webpack --progress -p -v",
|
||||
"watch": "./node_modules/.bin/webpack --watch"
|
||||
},
|
||||
|
@ -36,6 +36,7 @@
|
|||
"devDependencies": {
|
||||
"@types/angular": "1.5.16",
|
||||
"@types/angular-mocks": "^1.5.8",
|
||||
"@types/angular-route": "^1.3.3",
|
||||
"@types/jasmine": "^2.5.41",
|
||||
"@types/react": "0.14.39",
|
||||
"@types/react-dom": "0.14.17",
|
||||
|
|
Reference in a new issue