This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
/
package.json
78 lines (78 loc) · 3.38 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
{
"name": "5etools",
"author": "TheGiddyLimit",
"version": "1.209.3",
"license": "MIT",
"description": "A site dedicated to making playing games with your friends as easy as possible.",
"type": "module",
"private": true,
"scripts": {
"version-bump": "npm version -m \"chore(version): bump\"",
"gen": "node node/generate-all.js",
"gen:search-index": "node node/generate-search-index.js",
"gen:pages": "node node/generate-pages.js",
"clean-jsons": "node node/clean-jsons.js",
"test:js": "eslint . --ext .js,.cjs,.mjs",
"lint:js": "npm run test:js -- --fix",
"test:css:lint": "stylelint scss/*.scss scss/includes/*.scss",
"test:css:format": "echo '(Skipping CSS format check)'",
"test:css": "npm run test:css:lint && npm run test:css:format",
"lint:css:lint": "npm run test:css:lint -- --fix",
"lint:css:format": "npm run prettier:css -- --write",
"lint:css": "npm run lint:css:format && npm run lint:css:lint",
"test:data": "node test/test-all.js",
"lint:data": "node node/prettify-data/prettify-data.js",
"test:json": "node test/test-json.js",
"test:tags": "node test/test-tags.js",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test": "npm run test:js && npm run test:unit && npm run test:css && npm run test:data",
"lint": "npm run lint:js && npm run lint:css && npm run lint:data",
"build:css": "sass --style=compressed scss/:css/ && node node/rm.js css/includes/ css/vars/",
"build:seo": "node node/generate-seo.js",
"build:sw": "node node/build-sw.mjs",
"build:sw:prod": "node node/build-sw.mjs prod",
"build": "npm run clean-jsons && npm run gen && npm run build:css && npm run build:sw:prod",
"preversion": "npm test",
"version": "node node/version-bump.js",
"serve:dev": "http-server -c-1 --cors --port 5000",
"serve:dev:tls": "http-server -c-1 --cors --port 5001 --tls --cert certs/cert.pem --key certs/key.pem",
"spellcheck:check-data": "echo \"This can take a few minutes.\" && npx cspell --no-progress --show-context --show-suggestions \"data/**/*.json\"",
"spellcheck:check-data-quick": "git diff --name-only | grep -P \"^data/[^.]+.json\" | npx cspell --no-progress --show-context --show-suggestions --file-list stdin",
"spellcheck:trust-data": "echo \"This can take a few minutes.\" && echo \"# new words on $(date)\" >> spellcheck/dnd-words.txt && npx cspell --words-only --unique \"./data/**/*.json\" | sort --ignore-case >> spellcheck/dnd-words.txt",
"prettier:css": "prettier scss/**/*.scss --log-level warn"
},
"repository": {
"type": "git",
"url": "git+https://github.com/5etools-mirror-2/5etools-mirror-2.github.io.git"
},
"devDependencies": {
"5etools-utils": "^0.12.20",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"commander": "^12.0.0",
"esbuild": "^0.20.1",
"eslint": "^8.56.0",
"handlebars": "^4.7.8",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"json-source-map": "^0.6.1",
"prettier": "^3.2.5",
"probe-image-size": "^7.2.3",
"readline-sync": "^1.4.10",
"sass": "^1.71.1",
"sharp": "^0.33.2",
"simple-git": "^3.22.0",
"stylelint": "^16.2.1",
"stylelint-config-standard-scss": "^13.0.0",
"workbox-cli": "^7.1.0"
},
"bugs": {
"url": "https://github.com/5etools-mirror-2/5etools-mirror-2.github.io/issues"
},
"homepage": "https://github.com/5etools-mirror-2/5etools-mirror-2.github.io#readme",
"main": ".eslintrc.js",
"directories": {
"lib": "lib",
"test": "test"
}
}