Added loaders and updated cli

This commit is contained in:
Richard Davey 2018-10-24 23:45:37 +01:00
parent 7e783cabbf
commit 59fc4d5b17
2 changed files with 1174 additions and 4396 deletions

5558
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -31,7 +31,7 @@
"plugin.spine.canvas.dist": "webpack --config plugins/spine/webpack.canvas.dist.config.js", "plugin.spine.canvas.dist": "webpack --config plugins/spine/webpack.canvas.dist.config.js",
"plugin.spine.canvas.watch": "webpack --config plugins/spine/webpack.canvas.config.js --watch --display-modules", "plugin.spine.canvas.watch": "webpack --config plugins/spine/webpack.canvas.config.js --watch --display-modules",
"plugin.spine.webgl.dist": "webpack --config plugins/spine/webpack.webgl.dist.config.js", "plugin.spine.webgl.dist": "webpack --config plugins/spine/webpack.webgl.dist.config.js",
"plugin.spine.webgl.watch": "webpack --config plugins/spine/webpack.webgl.config.js --watch --display-modules", "plugin.spine.webgl.watch": "webpack --config plugins/spine/webpack.webgl.config.js --watch",
"lint": "eslint --config .eslintrc.json \"src/**/*.js\"", "lint": "eslint --config .eslintrc.json \"src/**/*.js\"",
"lintfix": "eslint --config .eslintrc.json \"src/**/*.js\" --fix", "lintfix": "eslint --config .eslintrc.json \"src/**/*.js\" --fix",
"sloc": "node-sloc \"./src\" --include-extensions \"js\"", "sloc": "node-sloc \"./src\" --include-extensions \"js\"",
@ -56,13 +56,15 @@
"eslint-plugin-es5": "^1.3.1", "eslint-plugin-es5": "^1.3.1",
"fs-extra": "^6.0.0", "fs-extra": "^6.0.0",
"node-sloc": "^0.1.11", "node-sloc": "^0.1.11",
"uglifyjs-webpack-plugin": "^1.2.7", "uglifyjs-webpack-plugin": "^1.3.0",
"vivid-cli": "^1.1.2", "vivid-cli": "^1.1.2",
"webpack": "^4.16.0", "webpack": "^4.23.0",
"webpack-cli": "^2.1.5", "webpack-cli": "^3.1.1",
"webpack-shell-plugin": "^0.5.0" "webpack-shell-plugin": "^0.5.0"
}, },
"dependencies": { "dependencies": {
"eventemitter3": "^3.1.0" "eventemitter3": "^3.1.0",
"exports-loader": "^0.7.0",
"imports-loader": "^0.8.0"
} }
} }