UNPKG

2.16 kBJSONView Raw
1{
2 "name": "cac",
3 "version": "6.6.1",
4 "description": "Simple yet powerful framework for building command-line apps.",
5 "repository": {
6 "url": "egoist/cac",
7 "type": "git"
8 },
9 "main": "dist/index.js",
10 "module": "mod.mjs",
11 "types": "dist/index.d.ts",
12 "exports": {
13 ".": {
14 "import": "./mod.mjs",
15 "require": "./dist/index.js"
16 },
17 "./package.json": "./package.json",
18 "./": "./"
19 },
20 "files": [
21 "dist",
22 "!**/__test__/**",
23 "/mod.mjs",
24 "/mod.js",
25 "/mod.d.ts"
26 ],
27 "scripts": {
28 "test": "jest",
29 "test:cov": "jest --coverage",
30 "build": "rollup -c",
31 "toc": "markdown-toc -i README.md",
32 "prepublishOnly": "npm run build && cp mod.js mod.mjs",
33 "docs:api": "typedoc --out api-doc --readme none --exclude \"**/__test__/**\" --theme minimal"
34 },
35 "author": "egoist <0x142857@gmail.com>",
36 "license": "MIT",
37 "devDependencies": {
38 "@rollup/plugin-commonjs": "^11.1.0",
39 "@rollup/plugin-node-resolve": "^7.1.3",
40 "@types/execa": "^0.9.0",
41 "@types/jest": "^23.3.9",
42 "@types/mri": "^1.1.0",
43 "cz-conventional-changelog": "^2.1.0",
44 "eslint-config-rem": "^3.0.0",
45 "events": "^3.0.0",
46 "execa": "^1.0.0",
47 "husky": "^1.2.0",
48 "jest": "^24.9.0",
49 "lint-staged": "^8.1.0",
50 "markdown-toc": "^1.2.0",
51 "mri": "^1.1.1",
52 "prettier": "^1.15.2",
53 "rollup": "^2.10.0",
54 "rollup-plugin-dts": "^1.4.3",
55 "rollup-plugin-esbuild": "^1.4.1",
56 "semantic-release": "^15.12.1",
57 "ts-jest": "^23.10.5",
58 "ts-node": "^7.0.1",
59 "typedoc": "^0.17.6",
60 "typescript": "^3.9.2"
61 },
62 "engines": {
63 "node": ">=8"
64 },
65 "release": {
66 "branch": "master"
67 },
68 "config": {
69 "commitizen": {
70 "path": "./node_modules/cz-conventional-changelog"
71 }
72 },
73 "lint-staged": {
74 "linters": {
75 "*.{js,json,ts}": [
76 "prettier --write",
77 "git add"
78 ],
79 "*.md": [
80 "markdown-toc -i",
81 "prettier --write",
82 "git add"
83 ]
84 },
85 "ignore": [
86 "dist/**",
87 "mod.js"
88 ]
89 },
90 "husky": {
91 "hooks": {
92 "pre-commit": "npm t && lint-staged"
93 }
94 }
95}