-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 1.97 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": "grid-puzzler",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.m.js",
"source": "components/GridPuzzler/index.js",
"scripts": {
"test": "NODE_ENV=test jest",
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s build:dev",
"build": "cross-env NODE_ENV=production preact build --no-prerender --clean --template src/index.ejs --service-worker false",
"build:dev": "preact watch --template src/index.ejs",
"build:window-target": "cross-env window=true npm run build",
"serve": "npm run build && preact serve",
"dist": "microbundle --entry src/components/GridPuzzler/index.js"
},
"keywords": [],
"author": "furkle",
"license": "none",
"devDependencies": {
"cross-env": "^5.2.0",
"eslint": "^4.5.0",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
"jest": "^24.5.0",
"microbundle": "^0.11.0",
"node-sass": "^4.12.0",
"preact-cli": "^2.0.2",
"preact-render-to-string": "^3.7.0",
"preact-widget-scripts": "^0.6.0",
"sass-loader": "^6.0.6"
},
"dependencies": {
"classnames": "^2.2.6",
"preact": "^8.2.5",
"preact-habitat": "^3.1.0",
"preact-material-components": "^1.5.7",
"ts-assertions": "^2.0.5"
},
"jest": {
"verbose": true,
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx"
],
"testEnvironment": "node",
"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"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleDirectories": [
"node_modules",
"src"
]
}
}