-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
48 lines (48 loc) · 1.44 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
{
"name": "react-recomponent",
"version": "1.0.0-rc.3",
"main": "dist/react-recomponent.js",
"typings": "type-definitions/ReComponent.d.ts",
"umd:main": "dist/react-recomponent.umd.js",
"module": "dist/react-recomponent.m.js",
"source": "src/index.js",
"license": "MIT",
"files": [
"dist",
"type-definitions/ReComponent.js.flow",
"type-definitions/ReComponent.d.ts",
"README.md",
"LICENSE"
],
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^23.6.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"dtslint": "^0.3.0",
"flow-bin": "^0.82.0",
"jest": "^23.6.0",
"microbundle": "^0.6.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.3",
"react": "^16.5.2",
"react-dom": "^16.5.2"
},
"peerDependencies": {
"react": "^16.4.0"
},
"scripts": {
"test": "run-p test:js test:types:*",
"prettier": "prettier {{__tests__,src,type-definitions}/**/*.{js,flow,ts},README.md}",
"format": "npm run prettier -- --write",
"test:js": "jest",
"test:types:ts": "yarn build && tsc ./type-definitions/ReComponent.d.ts --lib es2015 && dtslint type-definitions/ts-tests",
"test:types:flow": "flow check .",
"build": "microbundle -o dist/ --name ReComponent --compress false --sourcemap false",
"prepublishOnly": "yarn build"
},
"jest": {
"testRegex": "(/__tests__/.*\\-(test))\\.js$",
"coverageDirectory": "./coverage/"
}
}