-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 3.27 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
82
83
84
85
86
87
88
89
{
"name": "nhl-recap",
"version": "1.64.9",
"type": "module",
"description": "Play back the goal information from the latest NHL games.",
"keywords": [
"NHL",
"scores",
"cyclejs"
],
"author": "Harri Lehtola <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/peruukki/nhl-recap.git"
},
"license": "MIT",
"engines": {
"node": ">=20.0"
},
"config": {
"rollup_sw_args": "app/src/service-worker/service-worker.js -c --file public/service-worker.js --bundleConfigAsCjs"
},
"scripts": {
"browserify": "browserify $npm_package_config_browserify_args -g uglifyify | uglifyjs -c -o public/main.js",
"build": "npm run build:app && npm run build:sw",
"build:app": "tsc && vite build",
"build:sw": "rollup $npm_package_config_rollup_sw_args",
"clean:dist": "cd dist && git fetch origin && git reset --hard origin/gh-pages && rm -rf *",
"clone:dist": "[ -d 'dist' ] || git clone -b gh-pages --single-branch [email protected]:peruukki/nhl-recap.git dist",
"commit:dist": "cd dist && git add -A . && git commit -m \"Version $npm_package_version\"",
"copy:dist": "cp -r public/* dist",
"copy:normalize": "mkdir -p app/styles/vendor && cp node_modules/normalize.css/normalize.css app/styles/vendor",
"lint": "npm run lint:css && npm run lint:format && npm run lint:js",
"lint:css": "stylelint '**/*.scss'",
"lint:format": "prettier --write *.js app/src gallery/src",
"lint:js": "eslint *.js app/src gallery/src",
"postinstall": "npm run copy:normalize",
"deploy": "npm run build && npm run clone:dist && npm run clean:dist && npm run copy:dist && npm run commit:dist && npm run push:dist",
"push:dist": "cd dist && git push origin gh-pages",
"spec": "vitest run --coverage",
"spec:watch": "vitest",
"start": "vite",
"start:local": "VITE_SCORE_API_HOST=http://localhost:8080 npm start",
"start:production": "npm run build && vite preview",
"start:server": "json-server server/db.json --routes server/routes.json --port 8080 --host 0.0.0.0 --watch",
"test": "npm run lint && npm run ts && npm run spec",
"ts": "tsc",
"ts:watch": "tsc -w"
},
"dependencies": {
"@cycle/dom": "^23.1.0",
"@cycle/http": "^15.4.0",
"@cycle/run": "^5.7.0",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"snabby": "^6.1.1",
"timeago.js": "^4.0.2",
"workbox-expiration": "^7.3.0",
"workbox-precaching": "^7.3.0",
"workbox-routing": "^7.3.0",
"workbox-strategies": "^7.3.0",
"xstream": "^11.14.0"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@types/lodash": "^4.17.13",
"@vitest/coverage-v8": "^2.1.8",
"autoprefixer": "^10.4.20",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"json-server": "^0.17.4",
"nock": "^13.5.6",
"prettier": "^3.4.2",
"rollup": "^4.29.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-workbox-inject": "^2.0.0",
"sass": "^1.83.0",
"stylelint": "^16.12.0",
"stylelint-config-standard-scss": "^14.0.0",
"typescript": "~5.7.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.6",
"vitest": "^2.1.8"
},
"private": true
}