-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.14 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
{
"name": "@plasmicapp/react-ssr-prepass",
"version": "2.0.9",
"description": "A custom partial React SSR renderer for prefetching and suspense",
"main": "dist/react-ssr-prepass.js",
"module": "dist/react-ssr-prepass.es.js",
"types": "dist/react-ssr-prepass.d.ts",
"author": "Phil Plückthun <[email protected]>",
"license": "MIT",
"repository": "[email protected]:FormidableLabs/react-ssr-prepass.git",
"bugs": {
"url": "https://github.com/FormidableLabs/react-ssr-prepass/issues"
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"prepublishOnly": "run-s flow test build",
"build": "rollup -c rollup.config.js",
"postbuild": "node ./scripts/copy-typings.js",
"test": "jest",
"flow": "flow check"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-flow",
"@babel/preset-react"
]
},
"lint-staged": {
"**/*.js": [
"flow focus-check",
"prettier --write"
],
"**/*.{json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
"@babel/plugin-transform-object-assign": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/preset-flow": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"babel-plugin-closure-elimination": "^1.3.2",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"codecov": "^3.8.3",
"flow-bin": "0.122.0",
"husky-v4": "^4.3.0",
"jest": "^27.4.7",
"lint-staged": "^12.1.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.63.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^7.0.2"
}
}