forked from potatosalad775/modernGraphTool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 3.91 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 3.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "moderngraphtool",
"version": "1.0.1",
"type": "module",
"private": true,
"author": "potatosalad775",
"license": "MIT",
"description": "View and compare frequency response graphs for earphones/headphones",
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/d3": "^7.4.3",
"@web/dev-server": "^0.4.6",
"@web/dev-server-rollup": "^0.6.4",
"concurrently": "^9.2.0",
"rollup": "^4.37.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-import-css": "^3.5.8",
"typescript": "^5.8.3"
},
"scripts": {
"clean": "node -e \"const fs=require('fs'); ['dist/core.min.js', 'dist/core.min.js.map'].forEach(f=>{if(fs.existsSync(f))fs.rmSync(f)}); if(fs.existsSync('dist/extensions')) fs.rmSync('dist/extensions', {recursive:true, force:true}); fs.mkdirSync('dist/extensions', {recursive:true});\"",
"build:core": "rollup -c rollup.config.js",
"build:ext:equalizer": "rollup -c extensions/equalizer/rollup.config.js",
"build:ext:graph-color-wheel": "rollup -c extensions/graph-color-wheel/rollup.config.js",
"build:ext:preference-bound": "rollup -c extensions/preference-bound/rollup.config.js",
"build:ext:target-customizer": "rollup -c extensions/target-customizer/rollup.config.js",
"copy:extensions": "node scripts/copy-extensions.js",
"build": "npm run clean && npm run build:core && npm run build:ext:equalizer && npm run build:ext:graph-color-wheel && npm run build:ext:preference-bound && npm run build:ext:target-customizer && npm run copy:extensions",
"watch:core": "rollup -c rollup.config.js -w",
"watch:ext:equalizer": "rollup -c extensions/equalizer/rollup.config.js -w",
"watch:ext:graph-color-wheel": "rollup -c extensions/graph-color-wheel/rollup.config.js -w",
"watch:ext:preference-bound": "rollup -c extensions/preference-bound/rollup.config.js -w",
"watch:ext:target-customizer": "rollup -c extensions/target-customizer/rollup.config.js -w",
"watch:extensions": "cpx \"extensions/!(equalizer|graph-color-wheel|preference-bound|target-customizer)/**/{*,.*}\" dist/extensions --include-empty-dirs --watch",
"watch:ext-config": "cpx extensions/extensions.config.js dist/extensions --watch",
"watch:all": "npm run clean && concurrently --prefix-colors \"cyan,magenta,green,yellow,blue,red,gray\" --prefix \"[{name}]\" --names \"core,equalizer,graphcolor-wheel,preferencebound,targetcustomizer,extensions,config\" \"npm:watch:core\" \"npm:watch:ext:equalizer\" \"npm:watch:ext:graph-color-wheel\" \"npm:watch:ext:preference-bound\" \"npm:watch:ext:target-customizer\" \"npm:watch:extensions\" \"npm:watch:ext-config\"",
"serve": "web-dev-server --node-resolve --open --watch --root-dir dist --app-index dist/index.html",
"dev:simple": "concurrently --prefix-colors \"cyan,white\" --prefix \"[{name}]\" --names \"build,server\" \"npm:watch:all\" \"npm:serve\"",
"dev": "node scripts/dev-helper.js",
"dev:build": "npm run watch:all",
"start": "npm run serve",
"preview": "npm run build && npm run serve",
"update-scripts": "node scripts/update-scripts.js",
"validate-versions": "node scripts/validate-extension-versions.js",
"version:bump-core": "node scripts/version-manager.js bump-core",
"version:bump-ext": "node scripts/version-manager.js bump-extension",
"version:update-min-core": "node scripts/version-manager.js update-min-core",
"version:sync-docs": "node scripts/version-manager.js sync-docs",
"version:status": "node scripts/version-manager.js status",
"version:interactive": "node scripts/interactive-version-manager.js",
"install-git-hooks": "node scripts/install-git-hooks.js",
"release:preview": "node scripts/generate-release-notes.js preview",
"release:save": "node scripts/generate-release-notes.js save"
},
"dependencies": {
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-replace": "^6.0.2",
"cpx2": "^8.0.0"
}
}