@native-router/react 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +12 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@native-router/react",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -35,12 +35,13 @@
35
35
  "build": "vite build && tsc -p tsconfig.production.json && tsc-alias -p tsconfig.production.json",
36
36
  "commit": "lint-staged && git-cz -n",
37
37
  "coverage": "c8 report --reporter=text-lcov > ./coverage/coverage.txt",
38
- "lint": "eslint --fix src test demos *.cjs --ext .mjs,.cjs,.js,.jsx,.ts,.tsx",
39
- "doc:gen": "typedoc",
40
- "build:demo": "cross-env BABEL_ENV=development BUILD_DEMO=true vite build",
41
- "deploy": "npm run doc:gen && npm run build:demo && gh-pages -d dist",
42
- "test": "vitest run",
43
- "test:watch": "npm test -- --watch",
38
+ "lint": "eslint --fix .",
39
+ "deploy": "cross-env BABEL_ENV=development BUILD_DEMO=true vite build && gh-pages -d dist",
40
+ "test": "vitest",
41
+ "test:ui": "vitest --ui",
42
+ "test:run": "vitest run",
43
+ "prepublishOnly": "npm run build",
44
+ "postpublish": "git push --follow-tags && npm run deploy",
44
45
  "serve": "vite preview"
45
46
  },
46
47
  "repository": {
@@ -75,21 +76,19 @@
75
76
  "@linaria/vite": "^5.0.2",
76
77
  "@testing-library/dom": "^10.4.1",
77
78
  "@testing-library/react": "^14.3.1",
78
- "@types/mocha": "^10.0.1",
79
79
  "@types/node": "^20.6.5",
80
80
  "@types/react": "^19.0.0",
81
81
  "@types/react-dom": "^19.0.0",
82
- "@types/sinon": "^10.0.16",
83
82
  "@typescript-eslint/eslint-plugin": "^6.7.2",
84
83
  "@typescript-eslint/parser": "^6.7.2",
85
84
  "@vitejs/plugin-react": "^4.1.0",
86
85
  "@vitest/coverage-v8": "^4.0.18",
87
86
  "@vitest/ui": "^4.0.18",
88
- "babel-plugin-module-resolver": "^5.0.0",
89
- "c8": "^8.0.1",
87
+ "babel-plugin-transform-jsx-class": "^0.1.3",
88
+ "babel-plugin-transform-jsx-condition": "^0.1.3",
89
+ "babel-runtime-jsx-plus": "^0.1.5",
90
90
  "commitizen": "^4.3.0",
91
91
  "core-js": "^3.32.2",
92
- "coveralls": "^3.1.1",
93
92
  "cross-env": "^7.0.3",
94
93
  "eslint": "^8.50.0",
95
94
  "eslint-config-airbnb": "^19.0.4",
@@ -99,7 +98,6 @@
99
98
  "eslint-plugin-compat": "^4.2.0",
100
99
  "eslint-plugin-import": "^2.28.1",
101
100
  "eslint-plugin-jsx-a11y": "^6.7.1",
102
- "eslint-plugin-mocha": "^10.1.0",
103
101
  "eslint-plugin-prettier": "^5.0.0",
104
102
  "eslint-plugin-react": "^7.33.2",
105
103
  "eslint-plugin-react-hooks": "^4.6.0",
@@ -108,13 +106,10 @@
108
106
  "husky": "^8.0.3",
109
107
  "jsdom": "^22.1.0",
110
108
  "lint-staged": "^14.0.1",
111
- "mocha": "^10.2.0",
112
109
  "prettier": "^3.0.3",
113
110
  "react": "^19.0.0",
114
111
  "react-dom": "^19.0.0",
115
- "should": "^13.2.3",
116
- "should-sinon": "0.0.6",
117
- "sinon": "^16.0.0",
112
+ "rollup-plugin-type-as-json-schema": "^0.2.6",
118
113
  "terser": "^5.20.0",
119
114
  "tsc-alias": "^1.8.8",
120
115
  "typedoc": "^0.25.1",