-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
58 lines (58 loc) · 2.03 KB
/
package.json
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": "wargs",
"version": "0.10.0",
"main": "dist/wargs.cjs",
"module": "dist/wargs.mjs",
"unpkg": "dist/wargs.js",
"browser": "dist/wargs.js",
"description": "Wrong args parser",
"repository": {
"type": "git",
"url": "https://github.com/tacoss/wargs"
},
"bugs": "https://github.com/tacoss/wargs/issues",
"author": "Alvaro Cabrera <[email protected]> (https://soypache.co)",
"license": "MIT",
"files": [
"dist/*.*js"
],
"scripts": {
"dev": "npm test -- -w",
"lint": "eslint lib tests",
"test": "npm run test:unit --",
"test:ci": "npm run coverage:all && npm run report -- -r lcov",
"test:all": "npm run test:run tests && npm run report -- -r html",
"test:run": "NODE_ENV=test _mocha --exit --recursive -bR spec",
"test:unit": "npm run test:run tests --",
"coverage": "nyc --silent -x dist -x '**/tests/**' -x '**/*.test.js'",
"coverage:all": "npm run coverage -- npm run test:all",
"coverage:unit": "npm run coverage -- npm run test:unit",
"codecov": "codecov --file=coverage/lcov.info -e TRAVIS_NODE_VERSION",
"report": "nyc report",
"build": "NODE_ENV=production npm run build:all",
"build:all": "npm run build:cjs && npm run build:esm && npm run build:umd",
"build:lib": "esbuild lib/index.js --bundle",
"build:cjs": "npm run build:lib -- --format=cjs --outfile=dist/wargs.cjs",
"build:esm": "npm run build:lib -- --format=esm --outfile=dist/wargs.mjs",
"build:umd": "npm run build:lib -- --platform=browser --outfile=dist/wargs.js --global-name=wargs",
"prepublish": "npm run build",
"pretest": "npm run lint"
},
"devDependencies": {
"chai": "^4.2.0",
"codecov": "^3.1.0",
"esbuild": "^0.14.39",
"eslint": "^6.4.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.14.0",
"minimist": "^1.2.0",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"path-parse": ">=1.0.7",
"serialize-javascript": ">=2.1.1",
"yargs-parser": "^18.1.2"
},
"dependencies": {
"getopts": "^2.2.5"
}
}