-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 4.14 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
{
"private": true,
"description": "A state container for React and Node",
"name": "carry-on",
"license": "MIT",
"author": "Russ Panula <[email protected]>",
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "NO_LINT=1 run-s --silent bootstrap build-utils build-store build-react build-react-router build-react-forms build-react-view build-material-view build-material-app",
"build-react": "cd packages/carry-on-react && npm run build",
"build-react-forms": "cd packages/carry-on-react-forms && npm run build",
"build-react-router": "cd packages/carry-on-react-router && npm run build",
"build-react-view": "cd packages/carry-on-react-view && npm run build",
"build-material-view": "cd packages/carry-on-material-view && npm run build",
"build-material-app": "cd packages/carry-on-material-app && npm run build",
"build-store": "cd packages/carry-on-store && npm run build",
"build-utils": "cd packages/carry-on-utils && npm run build",
"clean": "lerna exec --concurrency 6 --no-sort -- \"npm run clean | cat\"",
"format": "prettier -w -c \"{.,src,test,packages,docs}/**/*.(js|json|md|mdx)\" --trailing-comma none --arrow-parens avoid",
"format:check": "prettier -c \"{.,src,test,packages,docs}/**/*.(js|json|md|mdx)\" --trailing-comma none --arrow-parens avoid",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watchAll",
"watch": "run-p watch-utils watch-store watch-react watch-react-router watch-react-forms watch-react-view watch-material-view watch-material-app",
"watch-react": "cd packages/carry-on-react && npm run watch",
"watch-react-forms": "cd packages/carry-on-react-forms && npm run watch",
"watch-react-router": "cd packages/carry-on-react-router && npm run watch",
"watch-react-view": "cd packages/carry-on-react-view && npm run watch",
"watch-material-view": "cd packages/carry-on-material-view && npm run watch",
"watch-material-app": "cd packages/carry-on-material-app && npm run watch",
"watch-store": "cd packages/carry-on-store && npm run watch",
"watch-utils": "cd packages/carry-on-utils && npm run watch",
"lint": "eslint packages/**/src/**"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@emotion/jest": "^11.10.0",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-eslint": "^8.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-sucrase": "^4.0.4",
"@sucrase/jest-plugin": "^2.2.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"eslint": "^8.23.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.8.7",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.1",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"lerna": "^5.4.3",
"lerna-jest": "^0.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-package-json": "^2.6.4",
"rollup-plugin-node-externals": "^4.1.1",
"rollup-plugin-visualizer": "^5.8.0",
"snapshot-diff": "^0.9.0"
},
"eslintConfig": {
"parser": "@babel/eslint-parser",
"parserOptions": {
"babelOptions": {
"rootMode": "upward"
}
},
"extends": [
"airbnb",
"prettier",
"plugin:jest/recommended"
],
"env": {
"es6": true,
"browser": true
},
"rules": {
"max-classes-per-file": "off",
"no-debugger": "warn",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"react/jsx-filename-extension": "off",
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"react/static-property-placement": "off",
"import/extensions": "off",
"import/no-absolute-path": "off",
"react/function-component-definition": "off",
"import/no-named-as-default-member": "off",
"import/no-named-as-default": "off"
}
},
"prettier": {
"trailingComma": "none",
"arrowParens": "avoid"
}
}