-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
70 lines (70 loc) · 2.34 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
{
"name": "preact-homepage-generator",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tomasswood/preact-homepage-generator.git"
},
"homepage": "http://preact-homepage-generator.thomaswood.me/",
"jest": {
"verbose": true,
"collectCoverage": true,
"coverageDirectory": "<rootDir>/coverage",
"testURL": "http://localhost:8080",
"transform": {
"\\.(js|jsx)$": "./transformPreprocessor.js"
},
"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",
"^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"
}
},
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "npm run tests-only && preact build --template template.html",
"serve": "preact build && preact serve",
"dev": "preact watch --template template.html",
"lint": "eslint src",
"tests-only": "jest --no-cache",
"test": "eslint src && jest --no-cache"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"devDependencies": {
"coveralls": "^3.0.0",
"eslint": "^4.5.0",
"eslint-config-synacor": "^2.0.0",
"if-env": "^1.0.0",
"jest": "^21.2.1",
"preact-cli": "^2.2.1",
"preact-render-spy": "^1.1.0"
},
"dependencies": {
"ajv": "^5.5.2",
"font-awesome": "^4.7.0",
"foundation-sites": "^6.4.3",
"jquery": "^3.3.1",
"node-sass": "^4.5.3",
"postcss": "^6.0.23",
"preact": "^8.2.5",
"preact-compat": "^3.17.0",
"preact-router": "^2.5.7",
"sass-loader": "^6.0.6",
"what-input": "^5.1.3"
}
}