forked from ionic-team/capacitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 933 Bytes
/
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
{
"name": "capacitor",
"private": true,
"scripts": {
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
"prettier": "prettier \"**/*.{css,html,java,js,ts}\"",
"eslint": "eslint . --ext ts",
"swiftlint": "node-swiftlint",
"postinstall": "lerna bootstrap"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": "@ionic/prettier-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"devDependencies": {
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^1.0.1",
"@ionic/swiftlint-config": "^1.1.2",
"eslint": "^7.11.0",
"husky": "^4.3.0",
"lerna": "^3.22.1",
"prettier": "^2.1.2",
"prettier-plugin-java": "^0.8.3",
"swiftlint": "^1.0.1"
}
}