pf2e-sage-stats 0.2.9 → 0.3.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.
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "pf2e-sage-stats",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "An RPG Sage's .tsv stat generation tool",
5
- "main": "dist/index.js",
6
5
  "author": "ikariott@gmail.com",
7
6
  "license": "MIT",
8
7
  "scripts": {
@@ -12,13 +11,24 @@
12
11
  "test": "jest"
13
12
  },
14
13
  "bin": {
15
- "pf2e-sage-stats": "dist/index.js"
14
+ "pf2e-sage-stats": "./dist/index.js"
16
15
  },
16
+ "main": "./dist/app.js",
17
+ "types": "./dist/app.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/app.d.ts",
21
+ "default": "./dist/app.js"
22
+ }
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
17
27
  "devDependencies": {
18
28
  "@eslint/js": "^9.17.0",
19
29
  "@types/jest": "^29.5.14",
20
- "@types/jsdom": "^27.0.0",
21
30
  "@types/lodash": "^4.17.13",
31
+ "@types/node": "^26.6.6",
22
32
  "@types/pluralize": "^0.0.33",
23
33
  "@types/tsv": "^0.2.4",
24
34
  "eslint": "^9.17.0",
@@ -34,7 +44,6 @@
34
44
  "clipboardy": "^5.1.0",
35
45
  "commander": "^12.1.0",
36
46
  "dedent-js": "^1.0.1",
37
- "jsdom": "^28.0.0",
38
47
  "lodash": "^4.17.21",
39
48
  "pluralize": "^8.0.0",
40
49
  "tsv": "^0.2.0",
package/eslint.config.mjs DELETED
@@ -1,11 +0,0 @@
1
- import globals from "globals";
2
- import pluginJs from "@eslint/js";
3
- import tseslint from "typescript-eslint";
4
-
5
- /** @type {import('eslint').Linter.Config[]} */
6
- export default [
7
- {files: ["src/**/*.ts"]},
8
- {languageOptions: { globals: globals.browser }},
9
- pluginJs.configs.recommended,
10
- ...tseslint.configs.recommended,
11
- ];
package/jest.config.ts DELETED
@@ -1,11 +0,0 @@
1
- import type { Config } from 'jest';
2
-
3
- const config: Config = {
4
- clearMocks: true,
5
- testEnvironment: "node",
6
- transform: {
7
- "^.+.tsx?$": ["ts-jest",{}],
8
- },
9
- };
10
-
11
- export default config;