snice 1.13.6 → 1.13.8

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 +6 -5
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "snice",
3
- "version": "1.13.6",
3
+ "version": "1.13.8",
4
4
  "type": "module",
5
5
  "description": "Imperative TypeScript framework for building vanilla web components with decorators, routing, and controllers. No virtual DOM, no build complexity.",
6
- "main": "index.js",
7
- "module": "index.js",
8
- "types": "index.d.ts",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
9
  "bin": {
10
10
  "snice": "./bin/snice.js"
11
11
  },
@@ -13,7 +13,6 @@
13
13
  "dist",
14
14
  "components",
15
15
  "bin",
16
- "templates",
17
16
  "README.md",
18
17
  "!components/**/*.test.ts",
19
18
  "!components/**/*.spec.ts",
@@ -66,6 +65,8 @@
66
65
  "test:watch": "vitest",
67
66
  "test:ui": "vitest --ui",
68
67
  "test:coverage": "vitest --coverage",
68
+ "test:publish": "vitest run tests/package-integrity.test.ts tests/publish-validation.test.ts",
69
+ "prerelease": "npm run build && npm run test:publish",
69
70
  "release": "semantic-release --no-ci",
70
71
  "release:dry": "semantic-release --dry-run --no-ci"
71
72
  },