moved Angular routes to separate module; load Webpack bundle before other main scripts

This commit is contained in:
alecmerdler 2017-01-20 16:24:55 -08:00
parent 8dc9cf21d7
commit 615e233671
14 changed files with 186 additions and 167 deletions

View file

@ -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",