-
Notifications
You must be signed in to change notification settings - Fork 270
/
package.json
57 lines (57 loc) · 1.64 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
{
"name": "unstated",
"version": "2.1.1",
"description": "State so simple, it goes without saying",
"main": "lib/unstated.js",
"module": "lib/unstated.es.js",
"types": "lib/unstated.d.ts",
"repository": "https://github.com/thejameskyle/unstated",
"author": "James Kyle <[email protected]>",
"license": "MIT",
"files": ["lib"],
"scripts": {
"clean": "rm -rf lib",
"build":
"rollup -c && flow-copy-source src lib && cp src/unstated.d.ts lib/unstated.d.ts",
"typecheck": "flow",
"test": "jest",
"format": "prettier --write **/*.{js,json,md}",
"prepublish": "yarn clean && yarn build",
"precommit": "lint-staged",
"example": "parcel example/index.html",
"typescript": "tsc -p tsconfig.json"
},
"dependencies": {
"create-react-context": "^0.2.2"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"@types/react": "^16.0.36",
"babel-core": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.26.0",
"flow-bin": "^0.64.0",
"flow-copy-source": "^1.2.2",
"husky": "^0.14.3",
"jest": "^22.1.4",
"jsdom": "^11.6.2",
"lint-staged": "^6.1.0",
"parcel-bundler": "^1.5.1",
"prettier": "^1.10.2",
"prop-types": "^15.6.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rollup": "^0.55.3",
"rollup-plugin-babel": "^3.0.3",
"typescript": "^2.7.1"
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
}
}