-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.41 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
{
"name": "preact-polka-ssr",
"version": "1.0.0",
"description": "A preact app rendered by a polka server with async routes and getInitialProps",
"author": "Nick Quebbeman <twitter/@kidqueb>",
"license": "MIT",
"sideEffects": false,
"browserslist": [
"last 2 version",
"> 1%",
"not dead"
],
"repository": {
"type": "git",
"url": "https://github.com/kidqueb/preact-polka-ssr.git"
},
"scripts": {
"prepare": "rm -rf dist && mkdir dist && cp src/client/assets/robots.txt dist/ && cp -R src/client/assets dist/assets",
"client:dev": "webpack --watch --progress --hide-modules --config ./_config/webpack/client/dev.js",
"client:prod": "NODE_ENV=production webpack --progress --hide-modules --config ./_config/webpack/client/production.js",
"server:dev": "webpack --watch --progress --hide-modules --config ./_config/webpack/server/dev.js",
"server:prod": "NODE_ENV=production webpack --progress --hide-modules --config ./_config/webpack/server/production.js",
"test:watch": "jest --watch --coverage --config _config/jest.config.js",
"test": "jest --coverage --config _config/jest.config.js --no-cache",
"dev": "npm-run-all prepare --parallel server:dev client:dev",
"build": "npm-run-all prepare server:prod client:prod",
"start": "yarn build && NODE_ENV=production node ./dist/server.js",
"lint": "eslint src/client"
},
"dependencies": {
"compression": "^1.7.4",
"devalue": "^1.1.0",
"polka": "^1.0.0-next.7",
"preact": "^10.0.0-beta.0",
"preact-render-to-string": "^5.0.2",
"sirv": "^0.3.1",
"spdy": "^4.0.0",
"storeon": "^0.9.5",
"wouter-preact": "^2.4.0"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-optional-chaining": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/plugin-transform-object-assign": "^7.2.0",
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.2.0",
"@babel/preset-env": "^7.7.1",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"core-js": "3",
"css-loader": "^2.1.0",
"eslint": "^5.12.1",
"eslint-config-synacor": "^3.0.3",
"extract-css-chunks-webpack-plugin": "^4.3.2",
"fast-async": "^6.3.8",
"file-loader": "^3.0.1",
"jest": "^24.7.1",
"node-sass": "^4.11.0",
"nodemon-webpack-plugin": "^4.0.7",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.2.1",
"url-loader": "^1.1.2",
"webpack": "^4.28.3",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.5.1",
"webpack-manifest-plugin": "^2.0.4",
"webpack-merge": "^4.1.5",
"webpack-modules": "^1.0.0",
"workbox-webpack-plugin": "^4.3.0"
},
"keywords": [
"preact",
"react",
"polka",
"ssr",
"webpack",
"unistore"
],
"bugs": {
"url": "https://github.com/kidqueb/preact-polka-ssr/issues"
},
"homepage": "https://github.com/kidqueb/preact-polka-ssr#readme",
"main": "index.js",
"directories": {
"test": "tests"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
}
}