@gjsify/example-node-cli-yargs-demo 0.1.3

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 (1) hide show
  1. package/package.json +34 -0
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@gjsify/example-node-cli-yargs-demo",
3
+ "version": "0.1.3",
4
+ "description": "CLI calculator using yargs for Node.js and GJS",
5
+ "main": "dist/index.gjs.js",
6
+ "type": "module",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "engines": {
11
+ "node": ">=16",
12
+ "gjs": ">=1.72.x"
13
+ },
14
+ "scripts": {
15
+ "clear": "rm -rf dist tsconfig.tsbuildinfo",
16
+ "check": "tsc --noEmit",
17
+ "start": "yarn start:node",
18
+ "start:gjs": "gjs -m dist/index.gjs.js",
19
+ "start:node": "node dist/index.node.mjs",
20
+ "build": "yarn build:gjs && yarn build:node",
21
+ "build:gjs": "gjsify build src/index.ts --app gjs --outfile dist/index.gjs.js",
22
+ "build:node": "gjsify build src/index.ts --app node --outfile dist/index.node.mjs",
23
+ "test": "yarn build && yarn start:node && yarn start:gjs"
24
+ },
25
+ "devDependencies": {
26
+ "@gjsify/cli": "^0.1.3",
27
+ "@gjsify/node-globals": "^0.1.3",
28
+ "@gjsify/runtime": "^0.1.3",
29
+ "@types/node": "^25.5.2",
30
+ "@types/yargs": "^17.0.35",
31
+ "typescript": "^6.0.2",
32
+ "yargs": "^18.0.0"
33
+ }
34
+ }