-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
91 lines (91 loc) · 2.43 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
{
"name": "preact-component-console",
"version": "1.0.0",
"description": "A console emulator component for preact.",
"main": "index.js",
"scripts": {
"test": "NODE_ENV=test jest --env=jsdom",
"tdd": "NODE_ENV=test jest --watch --env=jsdom",
"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",
"dist": "preact build --production --src src/components/console/index.js --dest dist --clean --no-prerender"
},
"keywords": [
"preact",
"preact-component",
"component",
"console",
"terminal",
"emulator",
"typewriter"
],
"author": {
"name": "HP Dietz",
"email": "h.p.dietz@gmail.com",
"twitter": "@h_p_d",
"url": "https://hpdietz.com"
},
"license": "MIT",
"devDependencies": {
"eslint": "^4.19.1",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.4",
"jest": "^21.2.1",
"node-sass": "^4.9.0",
"preact": "^8.2.9",
"preact-cli": "^2.2.1",
"preact-habitat": "^3.2.1",
"preact-render-spy": "^1.3.0",
"preact-render-to-string": "^3.7.0",
"preact-widget-scripts": "^0.6.0",
"sass-loader": "^6.0.7"
},
"dependencies": {
"deepmerge": "^2.1.1"
},
"peerDependencies": {
"preact": "^8.2.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/haensl/preact-component-console.git"
},
"bugs": {
"url": "https://github.com/haensl/preact-component-console/issues"
},
"homepage": "https://github.com/haensl/preact-component-console#readme",
"jest": {
"snapshotSerializers": [
"preact-render-spy/snapshot"
],
"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"
]
}
}