dat.gui/package.json
2023-05-28 12:23:34 +03:00

84 lines
2.6 KiB
JSON

{
"name": "dat.gui",
"version": "0.7.10",
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
"main": "build/dat.gui.js",
"module": "build/dat.gui.module.js",
"directories": {
"test": "tests"
},
"scripts": {
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"serve --listen 8080\"",
"build": "rollup -c && rollup -c rollup.config.min.mjs",
"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",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"preversion": "npm run lint",
"version": "npm run build && git add -A build",
"postversion": "git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dataarts/dat.gui.git"
},
"author": "Data Arts Team, Google",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/dataarts/dat.gui/issues"
},
"homepage": "https://github.com/dataarts/dat.gui#readme",
"devDependencies": {
"@rollup/plugin-terser": "^0.4.3",
"babel-core": "^6.26.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.7.0",
"concurrently": "^3.5.1",
"eslint": "^8.41.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-loader": "^4.0.0",
"eslint-plugin-import": "^2.27.5",
"extend": "^3.0.2",
"jsdoc-to-markdown": "^5.0.3",
"replace-between": "0.0.8",
"rollup": "^3.23.0",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-sass": "1.12",
"rollup-plugin-uglify": "^2.0.1",
"serve": "^14.2.0"
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"comma-dangle": 0,
"func-names": 0,
"no-alert": 0,
"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,
"no-restricted-syntax": 0,
"no-bitwise": 0,
"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
}
}
}