-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.31 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
{
"private": true,
"name": "farkle-fun",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "per-env",
"start:production": "npm run build:production && npm run serve",
"start:development": "npm run build:development",
"build": "per-env",
"build:development": "npx preact watch",
"build:production": "npx preact build",
"serve": "npx preact serve",
"lint": "eslint src",
"test": "npm run test:unit",
"test:unit": "npx tap src/**/*.spec.js --reporter=terse",
"test:integration": "npx jest tests",
"deploy": "npm run build:production && npx now build/ --name farkle-fun --prod"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^1.3.0",
"ava": "^2.4.0",
"eslint": "^6.8.0",
"husky": "^3.0.9",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"now": "^16.6.3",
"per-env": "^1.0.2",
"postcss": "^7.0.25",
"preact-cli": "^2.1.0",
"preact-render-spy": "^1.2.1",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"tap": "^14.10.5"
},
"dependencies": {
"classnames": "^2.2.6",
"preact": "^10.1.1",
"preact-router": "^3.1.0",
"tailwindcss": "^1.1.4",
"unistore": "^3.5.1"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
}
},
"jest": {
"verbose": true,
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.js"
],
"testRegex": "(/(__tests__|tests)/.*|(\\.|/)(test|spec))\\.jsx?$",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/tests/__mocks__/*"
],
"testURL": "http://localhost:8080",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^./style$": "identity-obj-proxy",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.min.js",
"^react$": "preact-compat",
"^react-dom$": "preact-compat",
"^create-react-class$": "preact-compat/lib/create-react-class",
"^react-addons-css-transition-group$": "preact-css-transition-group"
}
}
}