-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
80 lines (80 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
{
"name": "taro-canvas",
"version": "0.0.3",
"author": "jianhao",
"license": "ISC",
"description": "基于 Taro3 的微信小程序 canvas 绘图组件,封装了常用的操作,通过配置的方式绘制海报",
"source": "src/index.ts",
"main": "dist/index.esm.js",
"common": "dist/index.js",
"browser": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "types/index.d.ts",
"files": [
"lib",
"dist",
"types"
],
"keywords": [
"taro3",
"canvas",
"微信小程序"
],
"repository": {
"type": "git",
"url": "[email protected]:jianhao/taro-canvas.git"
},
"templateInfo": {
"name": "default",
"typescript": true,
"css": "less"
},
"scripts": {
"start": "yarn clean && yarn dev:weapp",
"dev:weapp": "npm run build:weapp -- --watch",
"build:weapp": "taro build --type weapp",
"build": "yarn clean && yarn build:rollup && yarn build:lib",
"build:lib": "tsc --project ./tsconfig.build.json --declaration --declarationDir types",
"build:rollup": "rollup --config ./rollup.config.js",
"clean": "rimraf lib dist"
},
"browserslist": [
"last 3 versions",
"Android >= 4.1",
"ios >= 8"
],
"peerDependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "^3.3.7",
"@tarojs/react": "^3.3.7",
"@tarojs/runtime": "^3.3.7",
"@tarojs/taro": "^3.3.7",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@tarojs/cli": "3.3.7",
"@tarojs/mini-runner": "3.3.7",
"@tarojs/webpack-runner": "3.3.7",
"@types/react": "^17.0.2",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"babel-preset-taro": "3.3.7",
"eslint": "^6.8.0",
"eslint-config-taro": "3.3.7",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.1.0"
}
}