@andbc/pigment 0.0.2 → 0.0.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/dist/index.js +2 -0
  2. package/package.json +10 -9
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  // src/index.ts
2
4
  import yargs from "yargs";
3
5
 
package/package.json CHANGED
@@ -1,23 +1,20 @@
1
1
  {
2
2
  "name": "@andbc/pigment",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "description": "A CLI tool to convert colors between different formats (HEX, RGB, HSL, etc.)",
8
8
  "type": "module",
9
- "bin": {
10
- "pigment": "dist/index.js"
11
- },
9
+ "bin": "dist/index.js",
12
10
  "files": [
13
- "dist",
14
- "bin"
11
+ "dist"
15
12
  ],
16
13
  "main": "index.js",
17
14
  "scripts": {
18
- "watch": "tsup ./src/index.ts --format esm --watch",
19
- "build": "tsc --noemit && tsup ./src/index.ts --format esm",
20
- "prepublishOnly": "npm run build"
15
+ "build": "tsup",
16
+ "dev": "tsup --watch",
17
+ "prepublishOnly": "yarn build"
21
18
  },
22
19
  "author": "Andy Duboc",
23
20
  "license": "MIT",
@@ -30,5 +27,9 @@
30
27
  "dependencies": {
31
28
  "@texel/color": "^1.1.11",
32
29
  "yargs": "17.7.2"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/andydbc/pigment.git"
33
34
  }
34
35
  }