-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
81 lines (81 loc) · 2.3 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
{
"name": "use-context-selector",
"description": "React useContextSelector hook in userland",
"version": "1.0.1",
"author": "Daishi Kato",
"repository": {
"type": "git",
"url": "https://github.com/dai-shi/use-context-selector.git"
},
"main": "./dist/index.js",
"module": "./dist/index.esm.js",
"browser": "./dist/index.umd.js",
"source": "./src/index.js",
"types": "./src/index.d.ts",
"files": [
"src",
"dist"
],
"scripts": {
"compile": "microbundle build --format cjs,es,umd",
"test": "npm run eslint && npm run tsc-test && npm run jest",
"eslint": "eslint --ext .js,.ts,.tsx --ignore-pattern dist .",
"jest": "jest",
"tsc-test": "tsc --project . --noEmit",
"apidoc": "documentation build --format md --markdown-toc false src/index.js | add-text-to-markdown README.md --section API --write",
"examples:minimal": "DIR=01_minimal EXT=js webpack-dev-server",
"examples:typescript": "DIR=02_typescript webpack-dev-server"
},
"keywords": [
"react",
"context",
"hooks"
],
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@testing-library/react": "^9.2.0",
"@types/react": "^16.9.3",
"@types/react-dom": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^2.3.1",
"@typescript-eslint/parser": "^2.3.1",
"add-text-to-markdown": "^2.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.6",
"documentation": "^12.1.2",
"eslint": "^6.4.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.9.0",
"microbundle": "^0.12.0-next.3",
"react": "experimental",
"react-dom": "experimental",
"ts-loader": "^6.1.2",
"typescript": "^3.6.3",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "> 0.2%, not dead"
}
],
"@babel/preset-react"
]
}
}