/
package.json
55 lines (55 loc) · 1.89 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
{
"name": "color-breakdown",
"version": "2.0.0",
"description": "Extract prominent colors from an image with this PWA tool",
"private": true,
"scripts": {
"test": "jest",
"copy-scripts": "cp node_modules/pwacompat/pwacompat.min.js public/lib/pwacompat.js && cp node_modules/shimport/index.js public/lib/shimport.js && cp node_modules/insights-js/dist/insights-js.es5.js public/lib/insights.js",
"build": "git rev-parse HEAD > .commithash && rollup -c",
"lint:files": "prettier \"src/**/*.ts\" \"public/css/**/*.css\" \"public/*.html\"",
"lint": "tsc && npm run lint:files -- --write",
"lint:check": "tsc && npm run lint:files -- --check",
"start": "cd public && python3 -m http.server"
},
"author": "Tiger Oakes <contact@tigeroakes.com> (https://tigeroakes.com)",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-typescript": "^8.0.0",
"@types/jest": "^26.0.18",
"husky": "^3.1.0",
"idb": "^4.0.5",
"insights-js": "^1.2.10",
"jest": "^26.6.3",
"node-vibrant": "^3.0.0",
"preact": "^10.4.1",
"prettier": "^2.0.5",
"pwacompat": "^2.0.10",
"rollup": "^2.34.2",
"rollup-plugin-consts": "^1.0.2",
"rollup-plugin-terser": "^7.0.2",
"shimport": "^1.0.1",
"ts-jest": "^26.4.4",
"tslib": "^2.0.3",
"typescript": "^4.1.2"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"setupFiles": [
"<rootDir>/src/tests/setup-mock-dom.ts"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"dependencies": {}
}