-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·54 lines (54 loc) · 1.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
{
"name": "wx-nav",
"version": "0.0.3",
"description": "powerful weixin miniapp router",
"keywords": [
"wx-nav",
"wx nav",
"wx navigator",
"wx router",
"miniapp router",
"wx.switchTab",
"wx.reLaunch",
"wx.redirectTo",
"wx.navigateTo",
"wx.navigateBack",
"miniapp",
"小程序 路由 增强",
"小程序 router"
],
"main": "dist/wx-nav.cjs.js",
"module": "dist/wx-nav.esm.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"repository": "[email protected]:microJ/wx-nav.git",
"author": "microJ",
"license": "MIT",
"scripts": {
"type-check": "tsc --noEmit",
"type-check:watch": "yarn run type-check -- --watch",
"build:types": "rimraf types && tsc --emitDeclarationOnly",
"build:js": "rimraf dist && rollup -c",
"build": "yarn run build:types && yarn run build:js",
"clear": "rimraf types && rimraf dist",
"prepublish": "in-publish && yarn run build || not-in-publish"
},
"devDependencies": {
"@babel/core": "7.4.0",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-object-rest-spread": "7.4.0",
"@babel/preset-env": "7.4.2",
"@babel/preset-typescript": "7.3.3",
"@types/weixin-app": "^2.2.27",
"in-publish": "^2.0.0",
"rimraf": "^2.6.3",
"rollup": "1.11.3",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-commonjs": "9.3.4",
"rollup-plugin-node-resolve": "4.2.3",
"typescript": "3.4.5"
}
}