-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathpackage.json
81 lines (81 loc) · 3.53 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "pf2etools",
"author": "Pf2eTools",
"version": "0.8.13",
"license": "MIT",
"description": "A site dedicated to making playing games with your friends as easy as possible.",
"scripts": {
"serve:dev": "npx http-server -c-1 --cors",
"gen-all": "node node/generate-all.js",
"clean-jsons": "node node/clean-jsons.js",
"clean-tags": "node node/clean-tags.js",
"update-jsons": "node node/update-jsons.js",
"minify:js": "npx terser --keep-classnames --keep-fnames",
"minify:json": "node node/minify-json.js",
"test:js": "npx eslint js node",
"lint:js": "npx eslint js node --fix",
"test": "npm run test:js && npm run test:styles && npm run test:data",
"test:styles": "npx stylelint scss/*.scss scss/includes/*.scss",
"test:data": "node test/test-all.js",
"build": "npm run clean-jsons && npm run gen-all && npm run build:css && npm run build:schema && npm run build:sw:prod",
"build-no-sw": "npm run build && del-cli sw.js && del-cli sw-injector.js",
"build:css": "npm run build:css:main && npm run build:css:classes && npm run build:css:misc && npm run build:css:search",
"build:css:main": "npx sass --source-map --style=compressed scss/main.scss css/style.css && npx postcss ./css/style.css --use autoprefixer -r",
"build:css:classes": "npx sass --source-map --style=compressed scss/classes.scss css/classes.css && npx postcss ./css/classes.css --use autoprefixer -r",
"build:css:search": "npx sass --source-map --style=compressed scss/search.scss css/search.css && npx postcss ./css/search.css --use autoprefixer -r",
"build:css:misc": "npx sass --source-map --style=compressed scss/list-page--grouped.scss css/list-page--grouped.css && npx postcss ./css/list-page--grouped.css --use autoprefixer -r",
"build:deploy:dev": "bash build/deploy-prep-dev.sh",
"build:deploy:prod": "bash build/deploy-prep-prod.sh",
"build:deploy:prod:cdn": "bash build/deploy-prep-prod--cdn.sh",
"build:data:prod": "node node/prepare-data-prod.js",
"build:seo": "node node/generate-seo.js",
"build:sw": "node node/build-sw.mjs",
"build:sw:prod": "node node/build-sw.mjs prod",
"build:sources": "npm run build:schema:sources && node node/update-sources.js",
"build:schema": "npm run build:schema:traits && npm run build:schema:languages && npm run build:schema:sources",
"build:schema:traits": "node test/scripts/compile-traits-schema.js",
"build:schema:languages": "node test/scripts/compile-languages-schema.js",
"build:schema:sources": "node test/scripts/compile-sources-schema.js",
"preversion": "npm run test",
"version": "node node/version-bump.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Pf2eToolsOrg/Pf2eTools.git"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.7.0",
"ajv": "^8.17.1",
"autoprefixer": "^10.4.20",
"del-cli": "^5.1.0",
"esbuild": "^0.23.1",
"eslint": "^9.19.0",
"globals": "^15.14.0",
"http-server": "^14.1.1",
"json": "^11.0.0",
"json-source-map": "^0.6.1",
"postcss": "^8.5.1",
"postcss-cli": "^11.0.0",
"postcss-syntax": "^0.36.2",
"probe-image-size": "^7.2.3",
"readline-sync": "^1.4.10",
"sass": "1.77.6",
"simple-git": "^3.27.0",
"stylelint": "^16.14.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-scss": "^6.10.1",
"terser": "^5.37.0",
"workbox-cli": "^7.3.0",
"xmlbuilder": "^15.1.1"
},
"bugs": {
"url": "https://github.com/Pf2eToolsOrg/Pf2eTools/issues"
},
"homepage": "https://github.com/Pf2eToolsOrg/Pf2eTools#readme",
"main": ".eslintrc.js",
"directories": {
"lib": "lib",
"test": "test"
}
}