-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.96 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.96 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "mind-gym",
"version": "1.11.0",
"private": true,
"type": "module",
"description": "Browser-based memory training game with multiple modes, adaptive difficulty, and PWA support. Features N-back training, daily challenges, and comprehensive progress tracking.",
"keywords": [
"memory",
"training",
"card-match",
"pwa",
"n-back",
"adaptive",
"brain-training",
"cognitive",
"game",
"offline-first"
],
"author": "LessUp",
"license": "MIT",
"homepage": "https://lessup.github.io/mind-gym/",
"repository": {
"type": "git",
"url": "https://github.com/LessUp/mind-gym.git"
},
"bugs": {
"url": "https://github.com/LessUp/mind-gym/issues"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"browserslist": [
"defaults",
"not IE 11",
"not dead"
],
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --runInBand",
"build:css": "tailwindcss -c tailwind.config.js -i ./styles/app.css -o ./assets/app.css --minify",
"build:css:dev": "tailwindcss -c tailwind.config.js -i ./styles/app.css -o ./assets/app.css",
"build:js": "bash scripts/minify-js.sh",
"build:play": "npm run build:css && npm run prepare:deploy && npm --prefix docs run sync:play",
"docs:install": "npm --prefix docs ci",
"docs:dev": "npm --prefix docs run dev",
"docs:build": "npm run docs:install && npm --prefix docs run build",
"build": "npm run build:play && npm run docs:build",
"lint": "prettier --check '**/*.{js,json,md,html,css,yml}'",
"lint:es": "eslint app.js src/*.js --max-warnings=0",
"format": "prettier --write '**/*.{js,json,md,html,css,yml}'",
"prepare:deploy": "bash scripts/prepare-deploy.sh",
"dev": "npx serve . -p 3000",
"dev:https": "npx serve . -p 3000 --ssl-cert cert.pem --ssl-key key.pem",
"preview": "npm run build && npx serve docs/.vitepress/dist -p 4173",
"analyze": "npm run build && du -sh docs/.vitepress/dist/ && find docs/.vitepress/dist -type f -exec du -h {} \\; | sort -rh",
"lighthouse": "npx lighthouse http://localhost:3000 --output=html --output-path=./lighthouse-report.html",
"lighthouse:ci": "npx lhci autorun --config=lighthouserc.cjs",
"audit:perf": "npm run build && npm run preview & npx lighthouse http://localhost:4173 --preset=desktop --chrome-flags='--headless' --output=json --output-path=./audit.json",
"clean": "rm -rf dist coverage lhci-reports .nyc_output",
"validate": "npm run lint && npm run test && npm run build"
},
"devDependencies": {
"@lhci/cli": "^0.13.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.8.1",
"tailwindcss": "3.4.19",
"terser": "^5.46.1"
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "lf"
}
}