diff options
| author | Priyansh <[email protected]> | 2022-01-18 20:16:45 -0500 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2022-01-18 20:16:45 -0500 |
| commit | d6591bf7dbddb08b10bcee6d667655b7942f6274 (patch) | |
| tree | 1f3bb8f2b0839580bd3053947f75b9388e30a22c /package.json | |
| parent | c871fbfdee6a67773dc54461272aef513e3060c8 (diff) | |
| download | izuku.js-d6591bf7dbddb08b10bcee6d667655b7942f6274.tar.xz izuku.js-d6591bf7dbddb08b10bcee6d667655b7942f6274.zip | |
chore: add prepublish script, update main and types
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json index af3be32..d3ed69c 100644 --- a/package.json +++ b/package.json @@ -2,14 +2,16 @@ "name": "izuku", "version": "0.1.0", "description": "In-Console Tabular Data Representation and Manipulation", - "main": "index.js", + "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build && node build/index.js", "start:dev": "nodemon", "build": "rimraf ./build && tsc", "lint": "eslint . --ext .ts", - "format": "prettier --config .prettierrc 'src/**/*.ts' --write" + "format": "prettier --config .prettierrc 'src/**/*.ts' --write", + "prepublish": "npm run build" }, "repository": { "type": "git", |
