This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
40 lines (40 loc) · 1.83 KB
/
package.json
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
{
"name": "ui",
"version": "0.0.1",
"scripts": {
"build": "run-p build:*",
"build:css": "postcss --use postcss-import --use cssnano --dir build/css/ --no-map src/unified_graphics/static/css/style.css",
"build:js": "rollup src/unified_graphics/static/js/*.js --format es --dir build/js/",
"build:assets": "mkdir -p build && cp -r src/unified_graphics/static/geo build/geo && cp src/unified_graphics/static/*icon.* build",
"clean": "del build/",
"test": "echo 'No tests' && exit 1",
"lint": "run-p lint:prettier:docs lint:prettier:code lint:eslint lint:css",
"lint:code": "run-p lint:prettier:code lint:eslint lint:css",
"lint:css": "stylelint src/**/*.css",
"lint:eslint": "eslint . --ignore-pattern '**/*.min.js' --ignore-pattern '**/htmlcov/**' --ignore-pattern '**/vendor/*'",
"lint:prettier:docs": "prettier --check '**/*.md'",
"lint:prettier:code": "prettier --check '.' '!**/*.md'",
"format": "prettier --write . && stylelint --fix src/**/*.css",
"vendor": "run-p vendor:*",
"vendor:lodash": "echo 'export * from \"lodash-es\"' | rollup --plugin @rollup/plugin-node-resolve --file src/unified_graphics/static/js/vendor/lodash.js --format es",
"vendor:d3": "echo 'export * from \"d3\"' | rollup --plugin @rollup/plugin-node-resolve --file src/unified_graphics/static/js/vendor/d3.js --format es"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"cssnano": "^7.0.3",
"d3": "^7.9.0",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"lodash-es": "^4.17.21",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
"prettier": "^3.3.2",
"rollup": "^4.18.0",
"stylelint": "^16.6.1",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0"
},
"type": "module"
}