2015-08-14 13:24:30 +00:00
|
|
|
{
|
|
|
|
"name": "dat.gui",
|
2022-02-19 04:35:02 +00:00
|
|
|
"version": "0.7.9",
|
2015-08-14 13:24:30 +00:00
|
|
|
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
2018-01-20 08:01:41 +00:00
|
|
|
"main": "build/dat.gui.js",
|
|
|
|
"module": "build/dat.gui.module.js",
|
2015-08-14 13:24:30 +00:00
|
|
|
"directories": {
|
|
|
|
"test": "tests"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2020-04-04 05:29:02 +00:00
|
|
|
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"serve --listen 8080\"",
|
2023-05-28 09:18:31 +00:00
|
|
|
"build": "rollup -c && rollup -c rollup.config.min.mjs",
|
2017-11-30 03:33:40 +00:00
|
|
|
"build-docs": "jsdoc2md -f src/dat/gui/GUI.js src/dat/controllers/Controller.js src/dat/controllers/NumberController.js | replace-between --target API.md --token API",
|
2018-01-20 08:01:41 +00:00
|
|
|
"lint": "eslint src",
|
2018-01-21 00:18:04 +00:00
|
|
|
"preversion": "npm run lint",
|
2018-01-20 08:18:25 +00:00
|
|
|
"version": "npm run build && git add -A build",
|
2018-05-05 22:15:23 +00:00
|
|
|
"postversion": "git push && git push --tags && npm publish"
|
2015-08-14 13:24:30 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-09-01 20:01:02 +00:00
|
|
|
"url": "git+https://github.com/dataarts/dat.gui.git"
|
2015-08-14 13:24:30 +00:00
|
|
|
},
|
2016-09-01 20:01:02 +00:00
|
|
|
"author": "Data Arts Team, Google",
|
2015-08-14 16:27:54 +00:00
|
|
|
"license": "Apache-2.0",
|
2015-08-14 13:24:30 +00:00
|
|
|
"bugs": {
|
2016-09-01 20:01:02 +00:00
|
|
|
"url": "https://github.com/dataarts/dat.gui/issues"
|
2015-08-14 13:24:30 +00:00
|
|
|
},
|
2016-09-01 20:01:02 +00:00
|
|
|
"homepage": "https://github.com/dataarts/dat.gui#readme",
|
2015-08-14 13:24:30 +00:00
|
|
|
"devDependencies": {
|
2023-05-28 09:18:31 +00:00
|
|
|
"@rollup/plugin-terser": "^0.4.3",
|
2018-06-04 03:01:02 +00:00
|
|
|
"babel-core": "^6.26.3",
|
2018-01-20 08:01:41 +00:00
|
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
2018-06-04 03:01:02 +00:00
|
|
|
"babel-preset-env": "^1.7.0",
|
2018-01-20 08:01:41 +00:00
|
|
|
"concurrently": "^3.5.1",
|
2023-05-28 09:18:31 +00:00
|
|
|
"eslint": "^8.41.0",
|
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2020-04-04 05:41:09 +00:00
|
|
|
"eslint-loader": "^4.0.0",
|
2023-05-28 09:18:31 +00:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2020-04-04 05:29:02 +00:00
|
|
|
"extend": "^3.0.2",
|
|
|
|
"jsdoc-to-markdown": "^5.0.3",
|
2017-11-30 03:33:40 +00:00
|
|
|
"replace-between": "0.0.8",
|
2023-05-28 09:18:31 +00:00
|
|
|
"rollup": "^3.23.0",
|
2018-06-04 03:01:02 +00:00
|
|
|
"rollup-plugin-babel": "^3.0.4",
|
2020-04-04 05:41:09 +00:00
|
|
|
"rollup-plugin-cleanup": "^3.1.1",
|
2018-06-04 03:01:02 +00:00
|
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
2023-05-28 09:18:31 +00:00
|
|
|
"rollup-plugin-sass": "1.12",
|
2018-01-20 08:01:41 +00:00
|
|
|
"rollup-plugin-uglify": "^2.0.1",
|
2023-05-28 09:18:31 +00:00
|
|
|
"serve": "^14.2.0"
|
2017-05-10 22:11:03 +00:00
|
|
|
},
|
2016-09-22 20:30:26 +00:00
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "airbnb-base",
|
|
|
|
"rules": {
|
|
|
|
"comma-dangle": 0,
|
|
|
|
"func-names": 0,
|
2017-05-14 19:32:21 +00:00
|
|
|
"no-alert": 0,
|
2016-09-22 20:30:26 +00:00
|
|
|
"no-console": 1,
|
|
|
|
"no-use-before-define": 0,
|
|
|
|
"prefer-rest-params": 0,
|
|
|
|
"prefer-template": 0,
|
|
|
|
"no-mixed-operators": 0,
|
|
|
|
"no-undef": 0,
|
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"prefer-arrow-callback": 0,
|
|
|
|
"space-before-function-paren": 0,
|
|
|
|
"global-require": 0,
|
|
|
|
"object-shorthand": 0,
|
|
|
|
"max-len": 0,
|
|
|
|
"no-param-reassign": 0,
|
|
|
|
"consistent-return": 0,
|
2017-05-14 19:32:21 +00:00
|
|
|
"no-restricted-syntax": 0,
|
2016-09-22 22:51:47 +00:00
|
|
|
"no-bitwise": 0,
|
2020-04-04 05:49:05 +00:00
|
|
|
"no-plusplus": 0,
|
|
|
|
"operator-linebreak": 0,
|
|
|
|
"no-else-return": 0,
|
|
|
|
"prefer-destructuring": 0,
|
|
|
|
"no-multi-assign": 0,
|
|
|
|
"no-restricted-properties": 0,
|
|
|
|
"no-return-assign": 0,
|
|
|
|
"no-restricted-globals": 0
|
2016-09-22 20:30:26 +00:00
|
|
|
}
|
2015-08-14 13:24:30 +00:00
|
|
|
}
|
|
|
|
}
|