-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.46 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
{
"name": "@alitajs/alita-kit",
"version": "1.0.0",
"license": "MIT",
"description": "alitajs/alita-kit",
"homepage": "https://github.com/alitajs/alita-kit",
"bugs": {
"url": "https://github.com/alitajs/alita-kit/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/alitajs/alita-kit"
},
"scripts": {
"start": "alita dev",
"build": "npm run build:less && npm run build:lib && npm run build:es",
"build:less": "node ./scripts/less.js",
"build:lib": "tsc --build tsconfig.json",
"build:es": "tsc --build tsconfig.es.json",
"coverage": "cat ./coverage/lcov.info | coveralls",
"test": "",
"lint-staged": "lint-staged",
"lint": "npm run lint:js && npm run lint:style",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./ && npm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./",
"lint:style": "stylelint --fix '**/*.less' --syntax less",
"prettier": "prettier -c --write **/*",
"format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
},
"peerDependencies": {
"antd-mobile": "^2.2.14"
},
"devDependencies": {
"@types/node": "latest",
"@types/react": "^16.8.17",
"@types/react-dom": "^16.8.4",
"@umijs/fabric": "^1.0.5",
"alita": "^0.3.2",
"cross-env": "^5.2.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-flowtype": "^3.10.3",
"husky": "^2.2.0",
"import-sort-cli": "^6.0.0",
"import-sort-parser-babylon": "^6.0.0",
"import-sort-parser-typescript": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"less": "^3.9.0",
"lint-staged": "^8.1.6",
"react-test-renderer": "^16.8.6",
"stylelint": "^10.0.1",
"stylelint-config-prettier": "^5.1.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^18.3.0",
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
"stylelint-order": "^3.0.0",
"typescript": "^3.5.1"
},
"dependencies": {
"@alitajs/alita-layout": "^1.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
}