-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 5.1 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
{
"name": "lert-app",
"version": "1.0.0",
"private": true,
"description": "A complete Lerna-Electron-React-TypeScript project boilerplate.",
"scripts": {
"clean": "lerna clean -y && lerna run clean",
"clean-modules": "app-tsc clean",
"dev": "node ./scripts/dev",
"dev-watch": "cross-env ELECTRON_AUTO_START=false node ./scripts/dev",
"dev-modules": "app-tsc dev",
"build": "node ./scripts/build",
"build-main": "lerna exec --scope=app-main yarn build",
"build-renderer": "lerna exec --scope=app-renderer yarn build",
"build-modules": "app-tsc build",
"start": "lerna exec --scope=app-main yarn start",
"package": "yarn build && lerna exec --scope=app-main yarn package",
"package-only": "lerna exec --scope=app-main yarn package",
"package-mac": "yarn build && lerna exec --scope=app-main yarn package-mac",
"package-win": "yarn build && lerna exec --scope=app-main yarn package-win",
"lint": "yarn lint-js && yarn lint-ts",
"lint-js": "eslint . --ext .jsx,.js --format=pretty",
"lint-ts": "eslint . --ext .tsx,.ts --format=pretty",
"lint-fix": "yarn lint-js --fix; yarn lint-ts --fix",
"lint-styles": "stylelint --ignore-path .eslintignore '**/*.*(css|scss)' --syntax scss",
"lint-styles-fix": "yarn lint-styles --fix",
"prettify": "prettier --ignore-path .eslintignore '**/*.{js,jsx,ts,tsx,json,html,css,less,scss,yml}'",
"prettify-fix": "yarn prettify --write; exit 0",
"preinstall": "npx check-npm-client --yarn-only",
"test": "yarn test-unit",
"test-cov": "yarn test-unit --coverage",
"test-unit": "cross-env NODE_ENV=test jest --config ./test/config/jest.config.unit.js",
"test-e2e": "cross-env NODE_ENV=test jest --config ./test/config/jest.config.e2e.js",
"test-all": "yarn test-unit && yarn test-e2e",
"postinstall": "yarn build-modules"
},
"lint-staged": {
"*.{js,jsx}": ["eslint --format=pretty", "prettier --write", "git add"],
"*.{ts,tsx}": ["eslint --format=pretty --max-warnings=0", "prettier --write", "git add"],
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
"prettier --parser json --write",
"git add"
],
"*.{css,scss}": ["stylelint --syntax scss --fix", "prettier --write", "git add"],
"*.{html,md,yml}": ["prettier --write", "git add"]
},
"license": "MIT",
"keywords": ["lerna", "electron", "react", "redux", "sass", "typescript"],
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-decorators": "^7.16.4",
"@babel/plugin-proposal-export-default-from": "^7.16.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
"@babel/plugin-proposal-numeric-separator": "^7.16.0",
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
"@babel/plugin-proposal-private-methods": "^7.16.0",
"@babel/plugin-proposal-private-property-in-object": "^7.16.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-react-constant-elements": "^7.7.4",
"@babel/plugin-transform-react-inline-elements": "^7.7.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.3.1",
"babel-plugin-import": "^1.13.0",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chalk": "^3.0.0",
"check-npm-client": "^1.1.1",
"confusing-browser-globals": "^1.0.9",
"cross-env": "^6.0.3",
"cross-spawn": "^7.0.1",
"dev-utils": "1.0.0",
"eslint": "7",
"eslint-formatter-pretty": "^3.0.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-deprecate": "^0.7.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-sonarjs": "^0.10.0",
"eslint-plugin-testing-library": "^5.0.0",
"execa": "^4.0.3",
"find-lerna-packages": "^1.3.0",
"fs-extra": "^8.1.0",
"husky": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.3.1",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"react-test-renderer": "^16.12.0",
"spectron": "10",
"stylelint": "^12.0.0",
"stylelint-config-prettier": "^8.0.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-scss": "^3.14.2",
"tree-kill": "^1.2.2"
},
"dependencies": {
"lerna": "^3.20.2"
},
"engines": {
"node": ">=14.x",
"npm": ">=4.x",
"yarn": ">=1.4.3"
},
"workspaces": {
"packages": ["packages/*"]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}