-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.56 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "flaget",
"version": "2.1.1",
"description": "A lightweight CLI flag/argument parser for Node.js. Supports all standard flag formats and named positional arguments.",
"keywords": [
"cli",
"flag",
"argument",
"positional",
"parser",
"argv",
"args"
],
"license": "ISC",
"author": "webdiscus",
"repository": "webdiscus/flaget",
"type": "module",
"types": "./index.d.ts",
"scripts": {
"build": "rollup -c",
"postinstall": "npm run build && npm i flaget -D",
"test": "vitest run",
"test:package": "TEST_PACKAGE=true vitest run",
"test:cjs": "node ./test/package/cjs/test.cjs",
"test:esm": "node ./test/package/esm/test.mjs",
"test:ts": "vitest run ./test/ts-compiler.test.js",
"test:coverage": "vitest run --coverage",
"publish:public": "(npm run build) && npm publish ./dist --access public",
"publish:beta": "(npm run build) && npm publish ./dist --tag beta"
},
"sideEffects": false,
"engines": {
"node": ">=10"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@vitest/coverage-v8": "^3.2.4",
"esbuild": "^0.25.2",
"flaget": "file:dist",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"rollup": "^4.40.2",
"rollup-plugin-copy": "^3.5.0",
"swc": "^1.0.11",
"terser": "^5.43.1",
"tsup": "^8.3.6",
"typescript": "5.4.5",
"vitest": "^3.2.4"
},
"overrides": {
"rollup-plugin-copy": {
"globby": "^11.0.0"
}
}
}