{ "name": "5etools", "author": "TheGiddyLimit", "version": "1.199.0", "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", "minify:js": "terser --keep-classnames --keep-fnames", "minify:json": "node node/minify-json.js", "test:js": "eslint . --ext .js,.cjs,.mjs", "lint:js": "npm run test:js -- --fix", "test:css": "stylelint scss/*.scss scss/includes/*.scss", "lint:css": "npm run test:css -- --fix", "test:data": "node test/test-all.js", "lint:data": "node node/prettify-data.js", "test:json": "node test/test-json.js", "test:tags": "node test/test-tags.js", "test": "npm run test:js && 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/", "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" }, "repository": { "type": "git", "url": "git+https://github.com/5etools-mirror-2/5etools-mirror-2.github.io.git" }, "devDependencies": { "5etools-utils": "^0.9.63", "ajv": "^8.11.2", "ajv-formats": "^2.1.1", "commander": "^11.0.0", "esbuild": "^0.14.38", "eslint": "^8.53.0", "handlebars": "^4.7.8", "http-server": "^14.1.1", "json-source-map": "^0.6.1", "probe-image-size": "^7.2.3", "readline-sync": "^1.4.10", "sass": "^1.56.1", "sharp": "^0.33.1", "simple-git": "^3.22.0", "stylelint": "^13.13.1", "stylelint-config-sass-guidelines": "^8.0.0", "terser": "^5.15.1", "workbox-cli": "^6.5.3" }, "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" } }