@phun-ky/speccer 9.0.3 → 9.0.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phun-ky/speccer",
3
- "version": "9.0.3",
3
+ "version": "9.0.5",
4
4
  "description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
5
5
  "main": "dist/speccer.js",
6
6
  "module": "dist/speccer.esm.js",
@@ -10,7 +10,9 @@
10
10
  "access": "public"
11
11
  },
12
12
  "scripts": {
13
- "test": "jest",
13
+ "test": "npx vitest --run --silent",
14
+ "beforetest-ci": "rm -rf coverage",
15
+ "test-ci": "npx vitest --run --coverage",
14
16
  "rollup": "rollup -c",
15
17
  "prerollup:dev": "npm run clean && npm run styles",
16
18
  "rollup:dev": "rollup -c -w",
@@ -19,7 +21,7 @@
19
21
  "styles": "npm run stylus && npm run postcss",
20
22
  "stylus": "rm -rf ./dist/speccer.css && stylus ./src/styles/index.styl -o ./dist/speccer.css",
21
23
  "postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
22
- "dev": "npx browser-sync start --server --files \"dev/*.html\" \"dist/*.css\" --index \"dev/index.html\" --serveStatic \"/dev/*.html\"",
24
+ "dev": "npx browser-sync start \"./dev\" --s --ss \"./dist\"",
23
25
  "docs:gen": "node ./node_modules/.bin/typedoc --entryPoints src --entryPointStrategy expand --gitRevision main --githubPages false --plugin typedoc-plugin-markdown --tsconfig tsconfig.json --hideInPageTOC --out api --readme none",
24
26
  "style:lint": "./node_modules/.bin/eslint -c ./.eslintrc --max-warnings=0 src --ignore-path .gitignore ",
25
27
  "style:format": "prettier-eslint --config .prettierrc --eslint-config-path $PWD/.eslintrc --list-different --write \"./src/**/*.ts\"",
@@ -72,26 +74,23 @@
72
74
  "homepage": "https://github.com/phun-ky/speccer#readme",
73
75
  "devDependencies": {
74
76
  "@release-it/conventional-changelog": "^7.0.1",
75
- "@rollup/plugin-commonjs": "^17.1.0",
76
77
  "@rollup/plugin-node-resolve": "^15.2.3",
77
- "@testing-library/dom": "^7.29.4",
78
- "@testing-library/jest-dom": "^5.11.9",
79
- "@testing-library/user-event": "^12.7.1",
78
+ "@rollup/plugin-terser": "^0.4.4",
79
+ "@testing-library/jest-dom": "^6.4.2",
80
80
  "@typescript-eslint/eslint-plugin": "^5.62.0",
81
81
  "@typescript-eslint/parser": "^5.0.1",
82
+ "@vitest/coverage-v8": "^1.3.0",
82
83
  "cobertura": "^1.0.1",
83
84
  "cssnano": "^5.0.4",
84
- "esbuild-jest": "^0.5.0",
85
85
  "eslint": "^8.56.0",
86
86
  "eslint-config-prettier": "^9.1.0",
87
87
  "eslint-import-resolver-typescript": "3.6.1",
88
88
  "eslint-plugin-compat": "^4.2.0",
89
89
  "eslint-plugin-import": "^2.29.1",
90
90
  "eslint-plugin-prettier": "^5.1.3",
91
+ "eslint-plugin-vitest": "^0.3.22",
91
92
  "git-cz": "^4.9.0",
92
- "jest": "^29.5.0",
93
- "jest-environment-jsdom": "^29.7.0",
94
- "network-information-types": "^0.1.1",
93
+ "jsdom": "^24.0.0",
95
94
  "postcss": "^8.3.0",
96
95
  "postcss-cli": "^8.3.1",
97
96
  "prettier": "^3.2.5",
@@ -99,21 +98,20 @@
99
98
  "prettier-eslint-cli": "^8.0.1",
100
99
  "putout": "^35.1.0",
101
100
  "release-it": "^16.1.5",
102
- "rollup": "^2.39.0",
103
- "rollup-plugin-dts": "^4.0.1",
104
- "rollup-plugin-terser": "^7.0.2",
101
+ "rollup": "^4.12.0",
102
+ "rollup-plugin-dts": "^6.1.0",
105
103
  "rollup-plugin-typescript2": "^0.36.0",
106
104
  "stylus": "^0.62.0",
107
- "ts-jest": "^29.1.1",
108
105
  "ts-node": "^10.9.1",
109
106
  "tslib": "^2.3.1",
110
- "typedoc": "^0.25.2",
107
+ "typedoc": "^0.25.8",
111
108
  "typedoc-plugin-frontmatter": "^0.0.2",
112
- "typedoc-plugin-markdown": "^3.15.3",
113
- "typedoc-plugin-mdn-links": "^3.0.3",
109
+ "typedoc-plugin-markdown": "^3.17.1",
110
+ "typedoc-plugin-mdn-links": "^3.1.16",
114
111
  "typedoc-plugin-no-inherit": "^1.4.0",
115
- "typedoc-plugin-rename-defaults": "^0.6.5",
116
- "typescript": "^4.5.4"
112
+ "typedoc-plugin-rename-defaults": "^0.7.0",
113
+ "typescript": "^5.0.0",
114
+ "vitest": "^1.3.0"
117
115
  },
118
116
  "config": {
119
117
  "commitizen": {