-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
128 lines (128 loc) · 3.58 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"private": true,
"name": "sbideo",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "npm run dev",
"dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"nodemon ./src/server.js\" --kill-others",
"build": "cross-env NODE_ENV=production preact build --template ./src/index.html --dest ./build/public --no-service-worker --clean",
"watch": "preact watch --template ./src/index.html",
"publish-demo": "cross-env PUBLISH_ENV=github npm run build && gh-pages -d build/public",
"serve": "node ./build/server.js",
"test": "jest ./tests",
"test:watch": "jest ./tests --watch",
"lint": "eslint src",
"precommit": "lint-staged"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"standard-preact",
"prettier"
],
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-console": "off",
"curly": "warn"
}
},
"eslintIgnore": [
"build/*"
],
"lint-staged": {
"*.{js,json,css,scss,md}": [
"prettier --single-quote --write",
"git add"
]
},
"devDependencies": {
"babel-core": "^6.26.0",
"concurrently": "^3.5.1",
"eslint": "^4.17.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard-preact": "^1.1.6",
"eslint-plugin-react": "^7.6.1",
"filemanager-webpack-plugin": "^1.0.24",
"fuzzysort": "^1.0.4",
"gh-pages": "^1.1.0",
"html-webpack-inline-source-plugin": "^0.0.10",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.2.2",
"lint-staged": "^7.0.4",
"lodash.truncate": "^4.4.2",
"node-sass": "^4.7.2",
"nodemon": "^1.15.1",
"preact": "^8.2.9",
"preact-cli": "^2.2.1",
"preact-render-spy": "^1.2.2",
"preact-router": "^2.6.0",
"prettier": "^1.10.2",
"prop-types": "^15.6.0",
"react": "^16.3.2",
"react-autolink": "^0.2.1",
"react-copy": "^1.2.1",
"react-dom": "^16.3.2",
"react-popper": "^0.10.1",
"react-tag-autocomplete": "^5.5.0",
"react-textarea-autosize": "^5.2.1",
"sass-loader": "^7.0.1",
"smoothscroll-polyfill": "^0.4.0",
"svgr": "^1.8.1",
"tree-crawl": "^1.0.5",
"unistore": "^3.0.5",
"webpack": "^4.8.3"
},
"dependencies": {
"babel-plugin-dynamic-import-node": "^1.2.0",
"body-parser": "^1.18.2",
"chokidar": "^2.0.1",
"compression": "^1.7.1",
"cross-env": "^5.1.3",
"express": "^4.16.2",
"jsonfile": "^4.0.0",
"lodash.debounce": "^4.0.8",
"minimist": "^1.2.0",
"octicons": "^7.1.0",
"shortid": "^2.2.8",
"speakingurl": "^14.0.1"
},
"jest": {
"verbose": true,
"setupFiles": [
"<rootDir>/src/tests/__mocks__/browserMocks.js"
],
"testURL": "http://localhost:8080",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/tests/__mocks__/fileMock.js",
"\\.(css|less|scss|svg)$": "identity-obj-proxy",
"^./style$": "identity-obj-proxy",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.min.js",
"^async!(.*)$": "$1",
"^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"
}
}
}