generated from juicecube/doraemon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.31 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
85
{
"name": "@mlz/rocket-app-bridge",
"version": "0.1.0",
"description": "H5与小火箭APP交互的SDK,Android & iOS通用",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build",
"deploy": "npm run docs:build && npm run cname && npm run docs:deploy",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"lint": "tslint --project tsconfig.json",
"lint-fix": "tslint --fix --project tsconfig.json",
"test": "jest --clearCache && jest --detectOpenHandles",
"test:prod": "jest --clearCache && jest --silent",
"tsc": "tsc --module commonjs",
"pre-pub": "npm run test:prod && npm run build",
"cname": "echo 'https://rab.ithen.cn' > docs-dist/CNAME",
"post-publish": "npm run pre-pub && npm publish --access=public",
"release": "git checkout master && git pull origin master && git tag v${npm_package_version} && git push origin --tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
},
"lint-staged": {
"*.{md,json}": [
"prettier --write"
],
"*.{js,ts,tsx}": [
"eslint"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"files": [
"lib",
"es",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/juicecube/rocket-app-bridge.git"
},
"keywords": [
"mlz",
"utils",
"typescript"
],
"author": "urnotzane",
"license": "MIT",
"bugs": {
"url": "https://github.com/juicecube/rocket-app-bridge/issues"
},
"homepage": "https://github.com/juicecube/rocket-app-bridge#readme",
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@mlz/lint": "^1.1.10",
"@types/jest": "^26.0.15",
"@types/jsdom": "^11.0.4",
"dumi": "^1.0.37",
"eslint": "^7.2.0",
"father-build": "^1.19.1",
"gh-pages": "^3.1.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.2",
"prettier": "^1.19.1",
"ts-jest": "^26.4.4",
"ts-lint": "^4.5.1",
"ts-loader": "^7.0.5",
"typescript": "^3.9.5"
},
"dependencies": {
"dsbridge": "^3.1.4"
}
}