Skip to content
Permalink
Browse files

#50 webpack4に対応

  • Loading branch information...
kobalab committed Apr 26, 2019
1 parent 49b8cda commit dc39164c95d3e118a873c85d6e34619bff10d68b
Showing with 4 additions and 3 deletions.
  1. +4 −3 package.json
@@ -5,10 +5,10 @@
"main": "src/js/majiang.js",
"private": true,
"scripts": {
"build:js": "webpack --devtool inline-source-map",
"build:js": "webpack --mode development --devtool inline-source-map",
"build:css": "stylus src/css/index.styl -o www/css/majiang.css",
"build": "npm run build:css && npm run build:js",
"release": "npm run build:css && webpack -p",
"release": "npm run build:css && webpack --mode production",
"test": "mocha -u tdd",
"test:cover": "istanbul cover -x \"**/dev/**\" node_modules/mocha/bin/_mocha -- -u tdd --no-timeouts"
},
@@ -30,7 +30,8 @@
"istanbul": "^0.4.5",
"mocha": "^6.1.4",
"stylus": "^0.54.5",
"webpack": "^3.5.5"
"webpack": "^4.30.0",
"webpack-cli": "^3.3.1"
},
"dependencies": {
"babel-polyfill": "^6.26.0",

0 comments on commit dc39164

Please sign in to comment.
You can’t perform that action at this time.