-
Notifications
You must be signed in to change notification settings - Fork 80
/
package.json
99 lines (99 loc) · 3.12 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": "react-universal-component",
"version": "4.0.0-alpha.4",
"description": "A higher order component for loading components with promises",
"main": "dist/index.js",
"typings": "index.d.ts",
"author": "James FaceySpacey Gillmore <[email protected]> (http://www.faceyspacey.com)",
"contributors": [
"Zack Jackson <[email protected]> (https://github.com/ScriptedAlchemy)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/faceyspacey/react-universal-component/issues"
},
"homepage": "https://github.com/faceyspacey/react-universal-component#readme",
"keywords": [
"universal",
"ruc",
"unviersal react",
"ssr",
"code splitting",
"aggressive code splitting",
"lodable",
"react",
"async component",
"universal react",
"async rendering",
"webpack 4"
],
"scripts": {
"build": "babel src -d dist",
"flow-copy": "flow-copy-source src dist -i 'requireById/index.js'",
"flow-watch": "clear; printf \"\\033[3J\" & npm run flow & fswatch -o ./ | xargs -n1 -I{} sh -c 'clear; printf \"\\033[3J\" && npm run flow'",
"flow": "flow; test $? -eq 0 -o $? -eq 2",
"clean": "rimraf dist && mkdir dist",
"test": "jest",
"lint": "eslint --fix ./",
"format": "prettier --single-quote --parser=flow --semi=false --write '{src,__tests__,__fixtures__}/**/*.js' && npm run lint",
"precommit": "lint-staged && npm test",
"cm": "git-cz",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"prepublish": "npm run clean && npm run build && npm run flow-copy"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^7.2.3",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-universal-import": "^4.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-plugin-flowtype": "^2.32.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^7.0.1",
"flow-bin": "^0.49.1",
"flow-copy-source": "^1.1.0",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^7.2.0",
"prettier": "^1.3.1",
"react": "^16.4.2",
"react-hot-loader": "^4.3.6",
"react-test-renderer": "^17.0.1",
"rimraf": "^2.6.3",
"semantic-release": "^6.3.6",
"slash": "^1.0.0",
"travis-github-status": "^1.6.3"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.js": [
"prettier --single-quote --parser=flow --semi=false --write",
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/faceyspacey/react-universal-component.git"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.0",
"prop-types": "^15.7.2"
}
}