-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
84 lines (84 loc) · 2.26 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": "@ohbug/miniapp",
"version": "1.0.1",
"description": "Ohbug 小程序 SDK 用于小程序平台(支持微信、字节跳动、支付宝、QQ 小程序)",
"author": "chenyueban <[email protected]>",
"homepage": "https://github.com/ohbug-org/ohbug-miniapp",
"repository": {
"type": "git",
"url": "https://github.com/ohbug-org/ohbug-miniapp"
},
"bugs": {
"url": "https://github.com/ohbug-org/ohbug-miniapp/issues"
},
"scripts": {
"prebuild": "rimraf dist",
"dev": "cross-env NODE_ENV=development rollup -c -w",
"build": "cross-env NODE_ENV=production rollup -c",
"prettier": "prettier --parser=typescript --write",
"lint": "eslint --fix",
"test": "jest",
"codecov": "codecov",
"update:deps": "yarn upgrade-interactive --latest"
},
"license": "Apache-2.0",
"main": "dist/ohbug-miniapp.cjs.prod.js",
"module": "dist/ohbug-miniapp.esm.prod.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"dependencies": {
"@ohbug/core": "^1.0.6"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/jest": "^26.0.8",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"commitizen": "^4.2.1",
"cross-env": "^7.0.2",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^8.2.0",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.13",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-terser": "^7.0.1",
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.1.4",
"typescript": "^4.0.2"
},
"publishConfig": {
"access": "public"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
],
"*.ts": [
"prettier --parser=typescript --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}