sheetr 0.0.1 → 1.0.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.
package/package.json CHANGED
@@ -1,18 +1,23 @@
1
1
  {
2
2
  "name": "sheetr",
3
- "version": "0.0.1",
4
- "description": "Create Excel .xlsx files from rows or objects, in Node.js and browsers. Zero dependencies.",
3
+ "version": "1.0.1",
4
+ "description": "Create and read Excel .xlsx files in Node.js and browsers, with zero dependencies.",
5
5
  "keywords": [
6
6
  "excel",
7
7
  "xlsx",
8
8
  "spreadsheet",
9
9
  "sheet",
10
10
  "export",
11
+ "import",
11
12
  "workbook",
12
13
  "office",
13
14
  "csv",
14
15
  "report",
15
- "table"
16
+ "table",
17
+ "parser",
18
+ "writer",
19
+ "browser",
20
+ "zero-dependency"
16
21
  ],
17
22
  "license": "MIT",
18
23
  "author": "CK Giri <ckgdev@gmail.com>",
@@ -21,22 +26,47 @@
21
26
  "type": "git",
22
27
  "url": "git+https://github.com/ckgiri/sheetr.git"
23
28
  },
29
+ "bugs": {
30
+ "url": "https://github.com/ckgiri/sheetr/issues"
31
+ },
24
32
  "type": "module",
25
33
  "sideEffects": false,
26
- "main": "./index.js",
27
- "types": "./index.d.ts",
34
+ "main": "./dist/index.cjs",
35
+ "module": "./dist/index.js",
36
+ "types": "./dist/index.d.ts",
28
37
  "exports": {
29
38
  ".": {
30
- "types": "./index.d.ts",
31
- "default": "./index.js"
39
+ "import": {
40
+ "types": "./dist/index.d.ts",
41
+ "default": "./dist/index.js"
42
+ },
43
+ "require": {
44
+ "types": "./dist/index.d.cts",
45
+ "default": "./dist/index.cjs"
46
+ }
32
47
  },
33
48
  "./package.json": "./package.json"
34
49
  },
35
50
  "files": [
36
- "index.js",
37
- "index.d.ts"
51
+ "dist",
52
+ "CHANGELOG.md"
38
53
  ],
39
54
  "engines": {
40
55
  "node": ">=18"
56
+ },
57
+ "scripts": {
58
+ "build": "tsup",
59
+ "test": "vitest run",
60
+ "typecheck": "tsc -p .",
61
+ "prepublishOnly": "npm run typecheck && npm test && npm run build",
62
+ "release": "npm version patch && git push --follow-tags",
63
+ "release:minor": "npm version minor && git push --follow-tags",
64
+ "release:major": "npm version major && git push --follow-tags"
65
+ },
66
+ "devDependencies": {
67
+ "@types/node": "^20.14.0",
68
+ "tsup": "^8.3.0",
69
+ "typescript": "^5.6.0",
70
+ "vitest": "^2.1.0"
41
71
  }
42
72
  }
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare const version: string;
package/index.js DELETED
@@ -1,2 +0,0 @@
1
- // sheetr: early test version. The full library is coming soon.
2
- export const version = "0.0.1";