@ridit/lens 0.1.0 → 0.1.4

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 (2) hide show
  1. package/package.json +3 -3
  2. package/dist/index.js +0 -49363
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ridit/lens",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "Know Your Codebase.",
5
5
  "author": "Ridit Jangra <riditjangra09@gmail.com> (https://ridit.space)",
6
6
  "license": "MIT",
@@ -8,13 +8,13 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/ridit-jangra/Lens"
10
10
  },
11
- "type": "module",
12
11
  "main": "dist/index.js",
13
12
  "bin": {
14
13
  "lens": "./dist/index.js"
15
14
  },
16
15
  "scripts": {
17
- "build": "bun build src/index.tsx --target bun --outfile dist/index.js",
16
+ "build": "bun build src/index.tsx --target node --outfile dist/index.cjs",
17
+ "postbuild": "node -e \"const fs=require('fs');const f='dist/index.cjs';fs.writeFileSync(f,'#!/usr/bin/env node\\n'+fs.readFileSync(f,'utf8'))\"",
18
18
  "prepublishOnly": "npm run build"
19
19
  },
20
20
  "dependencies": {