UNPKG

1.88 kBJSONView Raw
1{
2 "name": "@tarojs/router",
3 "version": "3.6.26",
4 "description": "Taro-router",
5 "browser": "dist/index.js",
6 "main:h5": "dist/index.esm.js",
7 "main": "dist/index.js",
8 "module": "dist/index.cjs.js",
9 "typings": "dist/index.esm.d.ts",
10 "files": [
11 "dist",
12 "types",
13 "index.js"
14 ],
15 "sideEffects": [],
16 "repository": {
17 "type": "git",
18 "url": "git+https://github.com/NervJS/taro.git"
19 },
20 "keywords": [
21 "router"
22 ],
23 "author": "O2Team",
24 "license": "MIT",
25 "dependencies": {
26 "dingtalk-jsapi": "~2.15.2",
27 "history": "^5.1.0",
28 "mobile-detect": "^1.4.2",
29 "query-string": "^7.1.1",
30 "tslib": "^2.6.2",
31 "universal-router": "^8.3.0"
32 },
33 "devDependencies": {
34 "@rollup/plugin-commonjs": "^24.0.0",
35 "@rollup/plugin-node-resolve": "^15.0.0",
36 "@rollup/plugin-typescript": "^11.1.0",
37 "@types/jest": "^29.4.0",
38 "jest": "^29.3.1",
39 "jest-cli": "^29.3.1",
40 "jest-environment-jsdom": "^29.5.0",
41 "jsdom": "^21.1.0",
42 "rollup": "^3.8.1",
43 "rollup-plugin-node-externals": "^5.0.0",
44 "rollup-plugin-ts": "^3.0.2",
45 "ts-jest": "^29.0.5",
46 "typescript": "^4.7.4",
47 "@tarojs/taro": "3.6.26",
48 "@tarojs/shared": "3.6.26",
49 "@tarojs/runtime": "3.6.26"
50 },
51 "peerDependencies": {
52 "@tarojs/runtime": "3.6.26",
53 "@tarojs/taro": "3.6.26",
54 "@tarojs/shared": "3.6.26"
55 },
56 "scripts": {
57 "prebuild": "pnpm run clean",
58 "build": "pnpm run rollup --environment NODE_ENV:production",
59 "clean": "rimraf ./dist",
60 "dev": "pnpm run rollup --environment NODE_ENV:development -w",
61 "rollup": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
62 "test": "cross-env NODE_ENV=jest jest",
63 "test:ci": "cross-env NODE_ENV=jest jest --ci -i --coverage --silent",
64 "test:dev": "cross-env NODE_ENV=jest jest --watch"
65 }
66}
\No newline at end of file