forked from react-static/react-static
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.55 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
129
130
131
132
133
134
{
"name": "react-static",
"description": "A progressive static site generator for React",
"version": "5.9.12",
"license": "MIT",
"repository": "https://github.com/nozzle/react-static",
"main": "lib/index.js",
"types": "src/index.d.ts",
"engines": {
"node": ">=6.10.0"
},
"bin": {
"react-static": "./bin/react-static"
},
"scripts": {
"build": "rimraf lib && rimraf node_modules/react-static && babel src --out-dir lib --ignore '**/__tests__/*' && yarn prepGitignore",
"start": "rimraf lib && rimraf node_modules/react-static && babel -w src --out-dir lib --ignore '**/__tests__/*'",
"postpublish": "git push --tags",
"prepublishOnly": "yarn build && yarn test",
"publishNext": "yarn publish --tag next",
"prepGitignore": "node scripts/prepGitignore.js",
"startDocs": "cd www && yarn start",
"buildDocs": "cd www && yarn && yarn build",
"buildDocsProd": "yarn build && yarn link && cd www && yarn && yarn link react-static && yarn build",
"serveDocs": "serve www/dist -p 3000",
"test": "yarn unitTest && yarn lint && yarn run test-sample-build",
"lint": "eslint src examples test",
"unitTest": "NODE_ENV=test yarn jest src",
"unitTestWatch": "NODE_ENV=test yarn jest src --watch",
"test-large-build": "cd test/stress-test-routes && yarn && rm -rf node_modules/react-static && ln -s -f ../../../ ./node_modules/react-static && ../../bin/react-static build",
"test-sample-build": "cd test/minimal-website && yarn && rm -rf node_modules/react-static && ln -s -f ../../../ ./node_modules/react-static && ../../bin/react-static build"
},
"dependencies": {
"@types/react": "^16.0.18",
"@types/react-helmet": "^5.0.3",
"@types/react-router-dom": "^4.2.0",
"async-sema": "^1.4.1",
"autoprefixer": "^7.1.5",
"axios": "^0.16.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-universal-import": "^1.4.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "^6.26.0",
"case-sensitive-paths-webpack-plugin": "^2.1.1",
"chalk": "^2.3.0",
"circular-dependency-plugin": "^4.2.1",
"commander": "^2.14.1",
"cors": "^2.8.4",
"cross-spawn": "^5.1.0",
"css-loader": "^0.28.7",
"download-git-repo": "^1.0.2",
"eslint-config-react-tools": "^1.2.3",
"extract-css-chunks-webpack-plugin": "^2.0.18",
"extract-hoc": "^0.0.5",
"extract-hoc-compose": "^0.0.1",
"extract-text-webpack-plugin": "^3.0.1",
"file-loader": "^1.1.4",
"fs-extra": "^4.0.2",
"git-promise": "^0.3.1",
"glob": "^7.1.2",
"html-webpack-plugin": "^2.30.1",
"inquirer": "^3.3.0",
"inquirer-autocomplete-prompt": "^0.11.1",
"match-sorter": "^2.0.2",
"openport": "^0.0.4",
"postcss-flexbugs-fixes": "^3.2.0",
"postcss-loader": "^2.0.6",
"preact": "^8.2.7",
"preact-compat": "^3.17.0",
"pretty-error": "^2.1.1",
"progress": "^2.0.0",
"prop-types": "^15.5.10",
"raf": "^3.4.0",
"raw-loader": "^0.5.1",
"react": "^16",
"react-dev-utils": "^4.0.1",
"react-dom": "^16",
"react-helmet": "^5.2.0",
"react-hot-loader": "^4",
"react-router-dom": "^4.2.2",
"react-universal-component": "^2.8.1",
"serve": "^6.4.10",
"shorthash": "^0.0.2",
"slash": "^1.0.0",
"socket.io": "^2.1.0",
"socket.io-client": "^2.1.0",
"style-loader": "^0.19.0",
"swimmer": "^1.3.1",
"update-notifier": "^2.4.0",
"url-loader": "^0.6.1",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.8.2",
"webpack-flush-chunks": "^1.2.3",
"webpack-node-externals": "^1.6.0"
},
"devDependencies": {
"babel-jest": "^22.4.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"eslint": "^4.3.0",
"jest": "^21.2.1",
"rimraf": "^2.6.2"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"jest": {
"verbose": true,
"moduleDirectories": [
"node_modules",
"src"
],
"testRegex": "(/__tests__/.*\\.(test))\\.jsx?$",
"moduleNameMapper": {
"static.config.js": "<rootDir>/src/static/__mocks__/static.config.mock.js",
"./path/to/static.config.js": "<rootDir>/src/static/__mocks__/static.config.mock.js"
},
"setupFiles": [
"<rootDir>/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}