-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
package.json
57 lines (57 loc) · 1.7 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
{
"name": "@tarojs/api",
"version": "4.0.0-beta.45",
"description": "Taro common API",
"author": "yuche <i@yuche.me>",
"homepage": "https://github.com/nervjs/taro/tree/master/packages/api#readme",
"license": "MIT",
"browser": "dist/index.js",
"main:h5": "dist/index.esm.js",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"dist"
],
"sideEffects": [],
"repository": {
"type": "git",
"url": "git+https://github.com/NervJS/taro.git"
},
"scripts": {
"prebuild": "pnpm run clean",
"build": "pnpm run rollup --environment NODE_ENV:production",
"clean": "rimraf ./dist",
"dev": "pnpm run rollup --environment NODE_ENV:development -w",
"rollup": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
"test": "cross-env NODE_ENV=test jest",
"test:ci": "cross-env NODE_ENV=test jest --ci -i --coverage --silent",
"test:dev": "cross-env NODE_ENV=test jest --watch"
},
"bugs": {
"url": "https://github.com/NervJS/taro/issues"
},
"dependencies": {
"@babel/runtime": "^7.14.5",
"@tarojs/runtime": "workspace:*",
"@tarojs/shared": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.0",
"jest": "^29.3.1",
"jest-cli": "^29.3.1",
"jest-environment-node": "^29.5.0",
"rollup": "^3.8.1",
"rollup-plugin-node-externals": "^5.0.0",
"rollup-plugin-ts": "^3.0.2",
"ts-jest": "^29.0.5",
"typescript": "^4.7.4"
}
}