-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
96 lines (96 loc) · 3.16 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
90
91
92
93
94
95
96
{
"name": "react-sweet-state",
"version": "2.7.2",
"description": "Global + local state combining the best of Redux and Context API",
"keywords": [
"React",
"React Context",
"state management",
"Redux"
],
"types": "./types/index.d.ts",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"repository": {
"type": "git",
"url": "git+https://[email protected]/atlassian/react-sweet-state.git"
},
"author": "Alberto Gasparin",
"license": "MIT",
"bugs": {
"url": "https://github.com/atlassian/react-sweet-state/issues"
},
"homepage": "https://github.com/atlassian/react-sweet-state#readme",
"scripts": {
"clean:build": "rm -rf ./lib",
"build:cjs": "babel src/ -d lib/cjs --ignore \"src/**/__tests__\" --presets @babel/env",
"build:esm": "babel src/ -d lib/esm --ignore \"src/**/__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": "dtslint --expectOnly --localTs node_modules/typescript/lib ./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",
"docs": "npx docsify-cli serve docs",
"start": "webpack-dev-server",
"perf:start": "webpack-dev-server --config ./webpack.config.perf.js"
},
"dependencies": {
"use-sync-external-store": "^1.0.0"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"scheduler": "*"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.7",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.17.7",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.3",
"dtslint": "^4.2.1",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"flow-bin": "^0.173.0",
"flow-copy-source": "^2.0.9",
"jest": "^27.5.1",
"prettier": "^2.6.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^4.6.2",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"sideEffects": false
}