-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
89 lines (89 loc) · 2.89 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
82
83
84
85
86
87
88
89
{
"name": "react-magnetic-di",
"version": "3.2.0",
"description": "Context driven dependency injection",
"keywords": [
"React",
"Dependency injection",
"Dependency replacement"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "./types/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://[email protected]/albertogasparin/react-magnetic-di.git"
},
"author": "Alberto Gasparin",
"license": "MIT",
"bugs": {
"url": "https://github.com/albertogasparin/react-magnetic-di/issues"
},
"homepage": "https://github.com/albertogasparin/react-magnetic-di#readme",
"scripts": {
"clean:build": "rm -rf ./lib && rm -rf ./babel",
"build:cjs": "babel src/ -d lib/cjs --ignore **/__tests__ --presets @babel/env",
"build:esm": "babel src/ -d lib/esm --ignore **/__tests__",
"build:flow": "echo lib/cjs lib/esm | xargs -n 1 cp src/index.js.flow",
"build": "npm run clean:build -s && npm run build:cjs -s && npm run build:esm -s && npm run build:flow -s",
"test": "jest",
"types": "tsc && flow --max-warnings=0",
"lint": "eslint ./src",
"preversion": "npm run lint -s && npm run types -s && npm run test -s",
"prepack": "npm run preversion -s && npm run build -s",
"start": "webpack-dev-server"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"eslint": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.5",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.23.5",
"@babel/plugin-transform-modules-commonjs": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.23.5",
"@babel/preset-flow": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.5",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.55.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-local": "^1.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"flow-bin": "^0.169.0",
"flow-copy-source": "^2.0.9",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.1.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"typescript": "^5.3.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"engines": {
"node": ">=10.16.0"
}
}