-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.32 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.32 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@native-router/core",
"version": "1.0.3",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/types/index.d.ts"
},
"./util": {
"import": "./dist/util.mjs",
"require": "./dist/util.cjs",
"types": "./dist/types/util.d.ts"
}
},
"types": "./dist/types/index.d.ts",
"keywords": [
"router",
"async",
"tiny",
"data-fetching",
"prefetch",
"preview"
],
"description": "A route close to the native experience for react.",
"files": [
"dist"
],
"scripts": {
"start": "npm test -- --watch",
"build": "rm -rf dist && rollup -c && tsc -p tsconfig.production.json && tsc-alias -p tsconfig.production.json",
"commit": "lint-staged && git-cz -n",
"coverage": "nyc report --reporter=text-lcov > ./.nyc_output/coverage.txt",
"lint": "eslint --fix src test demos *.js --ext .js,.jsx,.ts,.tsx",
"doc:gen": "typedoc",
"deploy": "npm run doc:gen && gh-pages -d dist",
"test": "cross-env NODE_ENV=test nyc mocha",
"preversion": "npm run build",
"postversion": "npm publish",
"postpublish": "git push --follow-tags && npm run deploy"
},
"repository": {
"type": "git",
"url": "https://github.com/wmzy/@native-router/core"
},
"sideEffects": false,
"author": "wmzy",
"license": "MIT",
"bugs": {
"url": "https://github.com/wmzy/@native-router/core/issues"
},
"homepage": "https://github.com/wmzy/@native-router/core",
"engines": {
"node": ">=14"
},
"dependencies": {
"history": "^5.3.0",
"path-to-regexp": "^6.2.1"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-typescript": "^7.22.5",
"@babel/register": "^7.22.5",
"@linaria/babel-preset": "^4.5.4",
"@linaria/core": "^4.5.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.5",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"babel-plugin-module-resolver": "^5.0.0",
"commitizen": "^4.3.0",
"core-js": "^3.31.1",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^9.39.2",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^5.0.0",
"global-jsdom": "^9.0.1",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"rollup": "^3.28.0",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^15.2.0",
"terser": "^5.19.2",
"tsc-alias": "^1.8.7",
"typedoc": "^0.24.8",
"typedoc-plugin-mark-react-functional-components": "^0.2.2",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "^5.9.3"
}
}