-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.81 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
{
"name": "refDemo",
"private": true,
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "alita dev",
"build": "alita build",
"cordova-init": "alita cordova --init",
"cordova-add-ios": "alita cordova --ios",
"cordova-add-android": "alita cordova --android",
"start-ios": "alita dev",
"build-ios": "alita build",
"start-android": "cross-env CORDOVA=android alita dev",
"build-android": "cross-env CORDOVA=android alita build",
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier --check \"**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"prettier": "prettier -c --write \"**/*\""
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@alitajs/list-view": "^0.1.2",
"alita": "^2.1.5"
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"src/**/*.less": "stylelint --syntax less",
"src/**/*.{js,jsx}": "npm run lint-staged:js",
"src/**/*.{js,ts,tsx,json,jsx,less}": [
"npm run prettier",
"git add"
]
},
"devDependencies": {
"@types/express": "^4.17.2",
"@umijs/fabric": "2.0.0",
"chalk": "^3.0.0",
"prettier": "^2.0.2",
"cross-env": "^6.0.3",
"eslint": "6.8.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"express": "^4.17.1",
"lint-staged": "^9.5.0",
"stylelint": "^12.0.1",
"yorkie": "^2.0.0"
}
}