-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
135 lines (135 loc) · 3.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@react-store/core",
"version": "0.0.40",
"main": "dist/index.js",
"repository": "https://github.com/amirqasemi74/react-store.git",
"author": "Amir Hossein Qasemi Moqaddam <[email protected]>",
"license": "MIT",
"dependencies": {
"clone-deep": "^4.0.1",
"dequal": "^2.0.3",
"is-promise": "^4.0.0",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/clone-deep": "^4.0.1",
"@types/jest": "^28.1.5",
"@types/lodash": "^4.14.182",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@zerollup/ts-transform-paths": "^1.7.18",
"babel-jest": "^28.1.3",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"cypress": "^10.8.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"graphql": "^16.6.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"lint-staged": ">=13",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "6",
"rollup": "^2.77.0",
"rollup-plugin-typescript2": "^0.32.1",
"ts-loader": "^9.3.1",
"ttypescript": "^1.5.13",
"typescript": "^4.7.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3",
"websocket-extensions": "^0.1.4"
},
"scripts": {
"start:app": "webpack serve --config tests/browser/webpack.config.js",
"test": "yarn test:jest && yarn test:cypress",
"test:jest": "jest",
"test:cypress": "yarn cy:run",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --detectOpenHandles",
"build": "rm -rf dist && rollup -c rollup.config.js",
"prepare": "husky install && yarn build",
"pub": "npm publish --access public",
"format": "yarn prettier --write",
"lint": "yarn eslint 'src/**/*.{ts,tsx}' --max-warnings=0",
"cy:open": "yarn cypress open --project tests/e2e",
"cy:run": "yarn cypress run --component --project tests/e2e"
},
"lint-staged": {
"src/**/*.{js,css,ts,tsx}": [
"yarn format",
"yarn lint"
]
},
"prettier": {
"printWidth": 85,
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrderParserPlugins": [
"typescript",
"jsx",
"classProperties",
"decorators-legacy"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-console": [
"error",
{
"allow": [
"error",
"warn"
]
}
],
"@typescript-eslint/no-explicit-any": [
"error",
{
"ignoreRestArgs": true
}
],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"prefer-const": "off",
"no-empty-pattern": "off",
"no-self-assign": "off"
}
}
}