|
22 | 22 | "unpkg": "dist/index.min.js", |
23 | 23 | "jsdelivr": "dist/index.min.js", |
24 | 24 | "bin": { |
25 | | - "dot-wasm": "bin/index.js" |
| 25 | + "dot-wasm": "bin/cli.js" |
26 | 26 | }, |
27 | 27 | "types": "types/index.d.ts", |
28 | 28 | "files": [ |
29 | | - "bin/index.js", |
| 29 | + "bin/cli.js", |
30 | 30 | "dist/index*.*", |
31 | 31 | "dist/expat*.*", |
32 | 32 | "dist/graphviz*.*", |
|
44 | 44 | "install-expat:linux": "./scripts/cpp-install-expat.sh", |
45 | 45 | "install-expat:win32": "wsl -e ./scripts/cpp-install-expat.sh", |
46 | 46 | "install-build-deps": "run-s install-emsdk install-graphviz install-expat", |
47 | | - "clean": "rimraf coverage bin build dist lib* types *.tsbuildinfo", |
| 47 | + "clean": "rimraf coverage build dist lib* types *.tsbuildinfo", |
48 | 48 | "clean-build-deps": "rimraf ./emsdk ./src-graphviz ./src-expat", |
49 | 49 | "compile-es6": "tsc --module es6 --outDir ./lib-es6", |
50 | 50 | "compile-es6-watch": "npm run compile-es6 -- -w", |
|
53 | 53 | "compile-cpp:linux": "./scripts/cpp-build.sh", |
54 | 54 | "compile-cpp:win32": "wsl -e ./scripts/cpp-build.sh", |
55 | 55 | "bundle": "rollup -c", |
56 | | - "bundle-cli": "ncc build -e ../dist/graphviz.node.js -m ./src/cli.js -o ./bin", |
57 | 56 | "bundle-watch": "npm run bundle -- -w", |
58 | 57 | "minimize": "terser dist/index.js -c -m --source-map -o dist/index.min.js", |
59 | | - "build": "run-s compile-cpp compile-es6 bundle bundle-cli minimize", |
| 58 | + "build": "run-s compile-cpp compile-es6 bundle minimize", |
60 | 59 | "build-ubuntu-dev": "docker build --rm -f \"./docker/ubuntu-dev.dockerfile\" -t ubuntu-dev:latest \".\"", |
61 | 60 | "standard-version": "standard-version", |
62 | 61 | "standard-version-dryrun": "standard-version --dry-run", |
|
71 | 70 | "tag": "run-s standard-version git-push", |
72 | 71 | "purge-jsdelivr": "node ./utils/purge-jsdelivr.js" |
73 | 72 | }, |
| 73 | + "dependencies": { |
| 74 | + "yargs": "^17.1.1" |
| 75 | + }, |
74 | 76 | "devDependencies": { |
75 | 77 | "@rollup/plugin-alias": "^3.1.5", |
76 | 78 | "@rollup/plugin-commonjs": "^19.0.0", |
|
80 | 82 | "@types/mocha": "^9.0.0", |
81 | 83 | "@typescript-eslint/eslint-plugin": "^4.31.1", |
82 | 84 | "@typescript-eslint/parser": "^4.31.1", |
83 | | - "@vercel/ncc": "^0.31.1", |
84 | 85 | "chai": "^4.3.4", |
85 | 86 | "eslint": "^7.32.0", |
86 | 87 | "karma": "^6.3.4", |
|
98 | 99 | "standard-version": "^9.3.1", |
99 | 100 | "terser": "^5.8.0", |
100 | 101 | "tslib": "^2.3.1", |
101 | | - "typescript": "^4.4.3", |
102 | | - "yargs": "^17.1.1" |
| 102 | + "typescript": "^4.4.3" |
103 | 103 | }, |
104 | 104 | "repository": { |
105 | 105 | "type": "git", |
|
0 commit comments