mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
update dependencies
This commit is contained in:
parent
19c4725d03
commit
aa62c77ccf
8433
package-lock.json
generated
8433
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -9,7 +9,7 @@
|
||||
},
|
||||
"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.js",
|
||||
"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",
|
||||
"preversion": "npm run lint",
|
||||
@ -27,24 +27,25 @@
|
||||
},
|
||||
"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": "^6.8.0",
|
||||
"eslint-config-airbnb-base": "^14.1.0",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-loader": "^4.0.0",
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"extend": "^3.0.2",
|
||||
"jsdoc-to-markdown": "^5.0.3",
|
||||
"replace-between": "0.0.8",
|
||||
"rollup": "^0.54.1",
|
||||
"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": "^0.6.1",
|
||||
"rollup-plugin-sass": "1.12",
|
||||
"rollup-plugin-uglify": "^2.0.1",
|
||||
"serve": "^11.3.0"
|
||||
"serve": "^14.2.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "airbnb-base",
|
||||
|
@ -13,8 +13,12 @@
|
||||
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import defaultConfig from './rollup.config';
|
||||
import uglify from 'rollup-plugin-uglify';
|
||||
import defaultConfig from './rollup.config.mjs';
|
||||
import terser from '@rollup/plugin-terser';
|
||||
import {fileURLToPath} from 'url';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const banner = fs.readFileSync(path.join(__dirname, 'licenseBanner.txt'));
|
||||
|
||||
@ -27,7 +31,7 @@ export default Object.assign({}, defaultConfig, {
|
||||
name: 'dat',
|
||||
banner: banner
|
||||
},
|
||||
plugins: [...defaultConfig.plugins, uglify({
|
||||
plugins: [...defaultConfig.plugins, terser({
|
||||
output: {
|
||||
// Preserve license commenting in minified build.
|
||||
comments: function(node, comment) {
|
@ -17,6 +17,10 @@ import resolve from 'rollup-plugin-node-resolve';
|
||||
import cleanup from 'rollup-plugin-cleanup';
|
||||
import babel from 'rollup-plugin-babel';
|
||||
import sass from 'rollup-plugin-sass';
|
||||
import {fileURLToPath} from 'url';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const banner = fs.readFileSync(path.join(__dirname, 'licenseBanner.txt'));
|
||||
|
Loading…
Reference in New Issue
Block a user