-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.42 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.42 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
{
"name": "@cdoublev/react-utils",
"description": "Common React hooks and components to use in a React application",
"author": "Guillaume Lebas",
"license": "MIT",
"keywords": [
"react",
"react-hooks"
],
"version": "0.10.4",
"engines": {
"node": ">= 15"
},
"homepage": "https://github.com/creativewave/react-utils",
"bugs": "https://github.com/creativewave/react-utils/issues",
"repository": "github:creativewave/react-utils",
"directories": {
"test": "__tests__"
},
"files": [
"dist"
],
"type": "module",
"exports": {
".": {
"import": "./dist/es/index.js",
"require": "./dist/cjs/index.cjs"
},
"./package.json": "./package.json"
},
"unpkg": "dist/umd/react-utils.js",
"scripts": {
"prebuild": "rm -rf dist",
"build:cjs": "rollup -c --environment NODE_ENV:cjs",
"build:es": "babel src -d dist/es --env-name es",
"build:umd": "rollup -c --environment NODE_ENV:umd",
"build": "npm run build:cjs && npm run build:es && npm run build:umd",
"lint": "eslint __tests__ src",
"safe-publish": "npm run lint && npm run test && npm run build && npm publish",
"test": "jest",
"test:inspect": "node --inspect=0.0.0.0:9222 ./node_modules/.bin/jest --watchAll -b",
"test:report": "jest -i --reporters='jest-junit'",
"test:watch": "jest --watchAll -b"
},
"dependencies": {
"@babel/runtime": "^7.13.9",
"core-js": "^3.9.1",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.13.0",
"@babel/core": "^7.13.8",
"@babel/eslint-parser": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.9",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.13",
"@cdoublev/eslint-config": "^0.8.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-replace": "^2.4.1",
"eslint": "^7.21.0",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-jest": "^24.1.7",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rollup": "^2.40.0",
"rollup-plugin-terser": "^7.0.2"
},
"peerDependencies": {
"react": "^16.7.0-alpha.0 || ^17.0.0-rc.2"
},
"optionalDependencies": {
"@cdoublev/animate": "^0.5.0"
},
"publishConfig": {
"access": "public"
}
}