mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
ADD browserify support
This commit is contained in:
parent
191eb65b3a
commit
9167004ff9
17
package.json
17
package.json
@ -1,11 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "dat.gui",
|
"name": "dat.gui",
|
||||||
"version": "0.6.4",
|
"version": "0.6.5",
|
||||||
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
"test": "tests"
|
"test": "tests"
|
||||||
},
|
},
|
||||||
|
"browserify": {
|
||||||
|
"transform": [
|
||||||
|
["babelify", { "presets": ["es2015"] }],
|
||||||
|
["stringify", { "extensions": [".html"] }],
|
||||||
|
["sassify"]
|
||||||
|
]
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack --progress --colors --watch --config webpack/webpack.config.js --devtool sourcemap",
|
"dev": "webpack --progress --colors --watch --config webpack/webpack.config.js --devtool sourcemap",
|
||||||
"build": "npm run build-js && npm run build-css",
|
"build": "npm run build-js && npm run build-css",
|
||||||
@ -26,7 +33,6 @@
|
|||||||
"babel-core": "^6.14.0",
|
"babel-core": "^6.14.0",
|
||||||
"babel-loader": "^6.2.5",
|
"babel-loader": "^6.2.5",
|
||||||
"babel-plugin-add-module-exports": "^0.2.1",
|
"babel-plugin-add-module-exports": "^0.2.1",
|
||||||
"babel-preset-es2015": "^6.14.0",
|
|
||||||
"babel-preset-stage-0": "^6.5.0",
|
"babel-preset-stage-0": "^6.5.0",
|
||||||
"css-loader": "^0.25.0",
|
"css-loader": "^0.25.0",
|
||||||
"eslint": "^3.5.0",
|
"eslint": "^3.5.0",
|
||||||
@ -39,7 +45,12 @@
|
|||||||
"sass-loader": "^4.0.2",
|
"sass-loader": "^4.0.2",
|
||||||
"webpack": "1.14.x"
|
"webpack": "1.14.x"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {
|
||||||
|
"babel-preset-es2015": "^6.14.0",
|
||||||
|
"babelify": "^7.3.0",
|
||||||
|
"sassify": "^2.0.0",
|
||||||
|
"stringify": "^5.1.0"
|
||||||
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "airbnb-base",
|
"extends": "airbnb-base",
|
||||||
"rules": {
|
"rules": {
|
||||||
|
Loading…
Reference in New Issue
Block a user