-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.8 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.8 KB
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
{
"name": "simple-react-hooks",
"version": "0.5.0",
"description": "Custom react hooks",
"main": "src/index.js",
"unpkg": "src/index.js",
"types": "src/index.d.ts",
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"node"
]
},
"files": [
"src",
"docs"
],
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"lint": "eslint --ext .ts,js,jsx,tsx src/",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --write \"**/*.+(ts|tsx|js|jsx|json|css|md)\"",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "webpack --config webpack.config.js",
"prebuild": "rimraf ./dist && npm run test && npm run lint:fix",
"build": "npm run build:types && npm run build:js",
"postbuild": "cp package.json dist/ && cp README.md dist/ && cp LICENSE dist/ && cp -R docs dist/",
"deploy": "npm run build && cd dist && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adrserr/simple-react-hooks.git"
},
"keywords": [
"react",
"react-hooks",
"custom hooks"
],
"author": "Adrián Serrano",
"license": "MIT",
"bugs": {
"url": "https://github.com/adrserr/simple-react-hooks/issues"
},
"homepage": "https://adrserr.github.io/simple-react-hooks/",
"peerDependencies": {
"react": "^16.4.0",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@testing-library/react": "^10.0.4",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.38",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"babel": "^6.23.0",
"babel-loader": "^8.1.0",
"babel-polyfill": "^6.26.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.10.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"jest": "^25.*.*",
"jsdom": "^16.2.2",
"jsdom-global": "^3.0.2",
"prettier": "^2.0.5",
"react": "^16.4.0",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"ts-jest": "^25.5.0",
"typescript": "^3.8.3",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},
"dependencies": {}
}