replaced Grunt with Webpack as front-end build tool

This commit is contained in:
alecmerdler 2017-05-21 02:10:11 -07:00
parent 36ddba24ad
commit 2e133d2b9c
16 changed files with 222 additions and 481 deletions

View file

@ -7,7 +7,7 @@
"dev": "./node_modules/.bin/karma start --browsers PhantomJS",
"test": "./node_modules/.bin/karma start --single-run --browsers PhantomJS",
"test:node": "JASMINE_CONFIG_PATH=static/test/jasmine.json ./node_modules/.bin/jasmine-ts './static/js/**/*.spec.ts'",
"build": "./node_modules/.bin/webpack --progress",
"build": "NODE_ENV=production ./node_modules/.bin/webpack --progress",
"watch": "./node_modules/.bin/webpack --watch"
},
"repository": {
@ -28,6 +28,7 @@
"core-js": "^2.4.1",
"d3": "^3.3.3",
"eonasdan-bootstrap-datetimepicker": "^4.17.43",
"file-saver": "^1.3.3",
"jquery": "1.12.4",
"ng-metadata": "^4.0.1",
"raven-js": "^3.1.0",
@ -37,7 +38,9 @@
"rxjs": "^5.0.1",
"showdown": "^1.6.4",
"showdown-highlightjs-extension": "^0.1.2",
"underscore": "^1.5.2"
"underscore": "^1.5.2",
"urijs": "^1.18.10",
"zeroclipboard": "^2.3.0"
},
"devDependencies": {
"@types/angular": "1.6.2",
@ -53,6 +56,7 @@
"angular-mocks": "1.6.2",
"angular-ts-decorators": "0.0.19",
"css-loader": "0.25.0",
"html-loader": "^0.4.5",
"jasmine-core": "^2.5.2",
"jasmine-ts": "0.0.3",
"karma": "^0.13.22",
@ -62,9 +66,11 @@
"karma-jasmine": "^0.3.8",
"karma-phantomjs-launcher": "^1.0.0",
"karma-webpack": "^1.8.1",
"ngtemplate-loader": "^1.3.1",
"node-sass": "3.10.1",
"phantomjs-prebuilt": "^2.1.7",
"sass-loader": "4.0.2",
"script-loader": "^0.7.0",
"source-map-loader": "0.1.5",
"style-loader": "0.13.1",
"ts-loader": "^0.9.5",