Skip to content

Commit

Permalink
updated script paths in package json
Browse files Browse the repository at this point in the history
Took 7 minutes
  • Loading branch information
erikyo committed Apr 9, 2024
1 parent 09d5c16 commit ae3334e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@
"bugs": {
"url": "https://github.com/wp-blocks/squashify/issues"
},
"type": "module",
"bin": "./lib/esm/index.js",
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wp-blocks/squashify.git"
},
"main": "lib/esm/index.js",
"module": "lib/esm/",
"reqire": "lib/cjs/index.js",
"types": "lib/@types/index.d.ts",
"type": "module",
"bin": "lib/esm/bin.js",
"types": "./lib/@types/index.d.ts",
"module": "./lib/esm/",
"exports": {
"squashify": "./lib/esm/bin.js",
"default": "./lib/esm/bin.js"
},
"scripts": {
"prebuild": "rimraf lib && tsc --emitDeclarationOnly --outDir lib/@types/",
"build": "npx esbuild ./src/* --outdir=lib/esm/ --format=esm --platform=node --minify",
"postbuild": "npx esbuild src/index.ts --outfile=lib/cjs/index.js --bundle --platform=node --minify",
"watch": "tsc --watch --sourceMap --outDir lib/esm/",
"squashify": "node . --in tests/images/ --out tests/output --verbose",
"squashifyDefaults": "node . -d",
"squashify": "node ./lib/esm/bin.js --in tests/images/ --out tests/output --verbose",
"squashifyDefaults": "node ./lib/esm/bin.js -d",
"test": "vitest --coverage"
},
"files": [
Expand Down
1 change: 0 additions & 1 deletion tests/unit/ini.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { describe, expect, it } from "vitest";
import { getIniOptions } from "../../src/parseIni.js";
import { ScriptOptions } from "node:vm";
import { CliOptions } from "../../src/types.js";

describe("getIniOptions", () => {
Expand Down

0 comments on commit ae3334e

Please sign in to comment.