This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
/
package.json
107 lines (107 loc) · 2.93 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "new-issue",
"version": "0.1.0",
"author": "Wei He <github@weispot.com>",
"description": "A customizable Github issues interface",
"repository": "wei/new-issue",
"homepage": "https://github.com/wei/new-issue#readme",
"bugs": "https://new-issue.org/wei/new-issue",
"scripts": {
"test": "NODE_ENV=test jest --verbose",
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "preact build --no-prerender --clean --template src/index.ejs --service-worker false",
"serve": "npm run build && preact serve",
"dev": "preact watch --template src/index.ejs",
"lint": "eslint . --ext .js,.json --ignore-path .gitignore",
"lintfix": "eslint . --ext .js,.json --ignore-path .gitignore --fix || true"
},
"devDependencies": {
"copy-webpack-plugin": "^4.6.0",
"eslint": "^5.12.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-preact": "^1.1.6",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-json": "^1.3.2",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.3",
"eslint-plugin-standard": "^4.0.0",
"glob": "^7.1.3",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.4",
"jest": "^23.6.0",
"jest-localstorage-mock": "^2.4.0",
"jsdom": "^13.1.0",
"node-sass": "^4.10.0",
"preact-cli": "^2.2.1",
"preact-render-spy": "^1.3.0",
"preact-render-to-string": "^4.1.0",
"preact-widget-scripts": "^0.6.0",
"sass-loader": "^7.1.0"
},
"dependencies": {
"ajv": "^6.6.2",
"classnames": "^2.2.6",
"linkstate": "^1.1.1",
"netlify-auth-providers": "^1.0.0-alpha5",
"normalize.css": "^8.0.1",
"preact": "^8.4.2",
"preact-compat": "^3.18.4",
"preact-habitat": "^3.2.2",
"preact-router": "^2.6.1",
"primer": "^10.10.2",
"whatwg-fetch": "^3.0.0"
},
"jest": {
"verbose": true,
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx"
],
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss|less)$": "identity-obj-proxy",
"^react$": "preact-compat",
"^react-dom$": "preact-compat"
},
"snapshotSerializers": [
"preact-render-spy/snapshot"
],
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 70,
"lines": 80,
"statements": 80
}
},
"setupFiles": [
"jest-localstorage-mock"
],
"moduleDirectories": [
"node_modules",
"src"
]
},
"eslintConfig": {
"plugins": [
"json"
],
"extends": [
"standard",
"standard-preact"
],
"rules": {
"comma-dangle": [
"error",
"always-multiline"
]
}
},
"license": "MIT"
}