-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
84 lines (84 loc) · 2.9 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
{
"name": "@alitajs/list-view",
"version": "1.1.1",
"description": "",
"main": "./dist/index.js",
"typings": "./dist/src/index.d.ts",
"module": "./dist/index.esm.js",
"scripts": {
"start": "alita dev",
"start-doc": "cross-env CUSTOM_DEV=true alita dev",
"build-doc": "cross-env CUSTOM_DEV=true alita build",
"build": "alita build",
"build-dom": "father-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": "check-prettier lint",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"publish": "npm publish --access public --next",
"prepublishOnly": "father-build",
"prettier": "prettier -c --write \"**/*\"",
"format-imports": "cross-env import-sort --write '**/*.{js,jsx,ts,tsx}'",
"beta-version": "node ./scripts/beta.js",
"beta": "npm publish --tag=beta",
"pub-beta": "npm run beta-version && npm run build-dom && npm run beta"
},
"keywords": [
"alita",
"antd-mobile-v2",
"umi",
"useLoadMore",
"hooks"
],
"author": "",
"license": "MIT",
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx,json,jsx,less}": [
"npm run prettier",
"git add"
]
},
"devDependencies": {
"@babel/helper-compilation-targets": "^7.13.16",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"@umijs/fabric": "2.0.0",
"alita": "^1.5.0",
"babel-plugin-polyfill-corejs2": "^0.3.1",
"babel-plugin-polyfill-corejs3": "^0.5.2",
"babel-plugin-polyfill-regenerator": "^0.3.1",
"chalk": "^3.0.0",
"check-prettier": "^1.0.3",
"cross-env": "^6.0.3",
"eslint": "6.8.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"father-build": "1.18.6",
"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",
"lint-staged": "^9.5.0",
"stylelint": "^12.0.1",
"umi-plugin-father-doc": "1.0.0-alpha.18",
"yorkie": "^2.0.0"
},
"dependencies": {
"ahooks-v2": "^2.10.15",
"antd-mobile-v2": "^2.3.4",
"lodash": "4.17.15"
},
"peerDependencies": {
"react": "^16.8.5"
},
"files": [
"dist"
]
}