-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
68 lines (68 loc) · 2.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
{
"name": "yonui-mobile",
"version": "0.2.11",
"description": "Libra ui for Antd Mobile",
"main": "./dist/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "rm -rf dist && libraui-extension-packager build .",
"assets": "copyfiles -e \"**/*.tsx\" \"./components/**/*\" lib",
"postversion": "git push --follow-tags",
"prepublishOnly": "npm run lib && npm run build",
"lib": "rm -rf lib && tsc && npm run assets",
"test": "echo no test",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"lint:quiet": "npm run lint -- --quiet",
"lint:fix": "npm run lint -- --quiet --fix",
"lint:git": "git diff --cached --name-only --diff-filter=ACM | grep '\\.[jt]sx\\?$' | xargs eslint",
"sync": "npm run build && cp -r dist/* ../viewer/public/componentLib && cp dist/manifest.json ../adapter/src/data/manifest.json"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:git",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"repository": {
"type": "git",
"url": "[email protected]:mdf-5.0/extension.git"
},
"files": [
"README.md",
"package.json",
"lib",
"dist",
"components",
"index.tsx",
"style"
],
"author": "Yudu Ban <[email protected]>",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/react": "^16.9.13",
"@types/react-dom": "^16.9.4",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"copyfiles": "^2.1.1",
"eslint": "^6.7.0",
"eslint-config-standard-with-typescript": "^11.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.1.0",
"libraui-extension-packager": "^0.4.7",
"tsc": "^1.20150623.0",
"typescript": "^3.7.2"
},
"dependencies": {
"antd-mobile": "^2.3.1",
"eslint-plugin-react": "^7.16.0",
"libraui-extension": "^0.6.6",
"react": "^16.12.0",
"react-dom": "^16.12.0"
}
}