@lomray/vite-ssr-boost 1.1.0-beta.1 → 1.1.0

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 (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +16 -2
package/README.md CHANGED
@@ -24,6 +24,7 @@
24
24
  <img src="https://img.shields.io/bundlephobia/minzip/@lomray/vite-ssr-boost" alt="size">
25
25
  <img src="https://img.shields.io/npm/l/@lomray/vite-ssr-boost" alt="size">
26
26
  <img src="https://img.shields.io/npm/v/@lomray/vite-ssr-boost?label=semantic%20release&logo=semantic-release" alt="semantic version">
27
+ <img src="https://sonarcloud.io/api/project_badges/measure?project=vite-ssr-boost&metric=coverage" alt="code coverage">
27
28
  </p>
28
29
 
29
30
  ## Table of contents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lomray/vite-ssr-boost",
3
- "version": "1.1.0-beta.1",
3
+ "version": "1.1.0",
4
4
  "description": "Vite plugin for create awesome SSR or SPA applications on React.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -29,7 +29,9 @@
29
29
  "release": "npm run build && cd lib && npm publish",
30
30
  "lint:check": "eslint --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
31
31
  "lint:format": "eslint --fix --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
32
- "ts:check": "tsc --project ./tsconfig.json --skipLibCheck --noemit"
32
+ "ts:check": "tsc --project ./tsconfig.json --skipLibCheck --noemit",
33
+ "test": "mocha --no-warnings __tests__ --recursive --unhandled-rejections=strict --exit",
34
+ "test:watch": "mocha --no-warnings __tests__ --recursive --unhandled-rejections=strict"
33
35
  },
34
36
  "dependencies": {
35
37
  "chalk": "^5.3.0",
@@ -45,12 +47,18 @@
45
47
  "@lomray/eslint-config": "^4.0.1",
46
48
  "@lomray/prettier-config": "^1.2.0",
47
49
  "@rollup/plugin-terser": "^0.4.4",
50
+ "@types/chai": "^4.3.11",
48
51
  "@types/compression": "^1.7.5",
49
52
  "@types/hjson": "^2.4.6",
50
53
  "@types/hoist-non-react-statics": "^3.3.5",
54
+ "@types/mocha": "^10.0.6",
51
55
  "@types/react-dom": "^18.2.5",
56
+ "@types/sinon": "^17.0.2",
57
+ "@types/sinon-chai": "^3.2.12",
52
58
  "@typescript-eslint/eslint-plugin": "^6.12.0",
53
59
  "@zerollup/ts-transform-paths": "^1.7.18",
60
+ "c8": "^8.0.1",
61
+ "chai": "^4.3.10",
54
62
  "eslint": "^8.54.0",
55
63
  "eslint-config-prettier": "^9.0.0",
56
64
  "eslint-plugin-import": "^2.29.0",
@@ -58,6 +66,8 @@
58
66
  "eslint-plugin-prettier": "^5.0.1",
59
67
  "husky": "^8.0.3",
60
68
  "lint-staged": "^15.1.0",
69
+ "mocha": "^10.2.0",
70
+ "nodemon": "^3.0.1",
61
71
  "prettier": "^3.1.0",
62
72
  "rollup": "^3.25.1",
63
73
  "rollup-plugin-copy": "^3.5.0",
@@ -66,6 +76,10 @@
66
76
  "rollup-plugin-preserve-shebangs": "^0.2.0",
67
77
  "rollup-plugin-ts": "^3.4.5",
68
78
  "semantic-release": "^21.1.2",
79
+ "sinon": "^17.0.1",
80
+ "sinon-chai": "^3.7.0",
81
+ "ts-node": "^10.9.1",
82
+ "tsconfig-paths": "^4.2.0",
69
83
  "typescript": "^5.3.2"
70
84
  },
71
85
  "peerDependencies": {