@tarojs/router
Version:
Taro-router
66 lines • 1.88 kB
JSON
{
"name": "@tarojs/router",
"version": "3.6.37",
"description": "Taro-router",
"browser": "dist/index.js",
"main:h5": "dist/index.esm.js",
"main": "dist/index.js",
"module": "dist/index.cjs.js",
"typings": "dist/index.esm.d.ts",
"files": [
"dist",
"types",
"index.js"
],
"sideEffects": [],
"repository": {
"type": "git",
"url": "git+https://github.com/NervJS/taro.git"
},
"keywords": [
"router"
],
"author": "O2Team",
"license": "MIT",
"dependencies": {
"dingtalk-jsapi": "~2.15.2",
"history": "^5.1.0",
"mobile-detect": "^1.4.2",
"query-string": "^7.1.1",
"tslib": "^2.6.2",
"universal-router": "^8.3.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.1.0",
"@types/jest": "^29.4.0",
"jest": "^29.3.1",
"jest-cli": "^29.3.1",
"jest-environment-jsdom": "^29.5.0",
"jsdom": "^21.1.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",
"@tarojs/runtime": "3.6.37",
"@tarojs/taro": "3.6.37",
"@tarojs/shared": "3.6.37"
},
"peerDependencies": {
"@tarojs/taro": "3.6.37",
"@tarojs/shared": "3.6.37",
"@tarojs/runtime": "3.6.37"
},
"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=jest jest",
"test:ci": "cross-env NODE_ENV=jest jest --ci -i --coverage --silent",
"test:dev": "cross-env NODE_ENV=jest jest --watch"
}
}