-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.19 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.19 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
{
"name": "SVGcode",
"version": "0.0.1",
"scripts": {
"start": "npm run dev",
"start-with-sw": "npm run build && npm run serve",
"dev": "vite",
"icons": "node ./scripts/icons.mjs",
"build": "vite build && shx echo \"svgco.de\" > docs/CNAME && touch docs/.nojekyll && git add docs/",
"prepare": "npm run icons && npm run build",
"serve": "vite preview",
"https-preview": "serve docs",
"lint": "npm run lint:js && npm run lint:css && npm run lint:esm",
"lint:esm": "npx find-unused-exports --module-glob \"src/**/*.{js,mjs}\"",
"lint:js": "npx eslint . --fix",
"lint:css": "npx stylelint \"**/*.css\" --fix",
"fix": "npx prettier . --write",
"deploy": "npm run fix && npm run lint && npm run build && git commit -a && git push",
"oculus": "cd src && ovr-platform-util create-pwa -o output.apk --android-sdk ~/bin/android-10 --manifest-content-file manifest.json --package-name de.svgco"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"browser-fs-access": "^0.38.0",
"browserlist": "^1.0.2",
"canvas-size": "^2.0.0",
"dark-mode-toggle": "^0.18.0",
"esm-potrace-wasm": "0.2.1",
"idb-keyval": "^6.2.2",
"module-workers-polyfill": "^0.3.2",
"pinch-zoom-element": "^1.1.1",
"svgo": "^4.0.1"
},
"devDependencies": {
"@rollup/plugin-dynamic-import-vars": "^2.1.5",
"eslint": "^10.2.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-node": "^11.1.0",
"find-unused-exports": "^7.1.1",
"https-localhost": "^4.7.1",
"napa": "^3.0.0",
"node-fetch": "^3.3.2",
"prettier": "^3.8.3",
"shx": "^0.4.0",
"stylelint": "^17.9.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-order": "^8.1.1",
"vite": "^8.0.10",
"vite-plugin-pwa": "^1.2.0"
},
"overrides": {
"serialize-javascript": "^7.0.3",
"vite-plugin-pwa": {
"vite": "$vite"
}
},
"eslintConfig": {
"plugins": [
"eslint-plugin-node"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"google",
"prettier"
],
"rules": {
"valid-jsdoc": "off"
}
}
}