-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
85 lines (85 loc) · 2.34 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "node-sloc",
"version": "0.2.1",
"description": "A small tool for counting SLOC.",
"author": "Edvin Havic <[email protected]>",
"main": "lib/index.js",
"type": "commonjs",
"types": "lib",
"files": [
"lib",
"bin",
"esm-wrapper.mjs"
],
"bin": {
"node-sloc": "bin/node-sloc.js",
"sloc": "bin/node-sloc.js"
},
"exports": {
"import": "./esm-wrapper.mjs",
"require": "./lib/index.js"
},
"scripts": {
"start": "npm run build && node lib/cli.js",
"build": "tsc -p ./tsconfig.json",
"build:watch": "npm run build -- --watch",
"test": "nyc --reporter=lcov ts-mocha -- ./test/**/*.spec.ts",
"test:watch": "npm run test -- --watch",
"prettier:base": "prettier --ignore-path .gitignore",
"eslint:base": "eslint --ignore-path .gitignore",
"lint:eslint": "npm run eslint:base -- --max-warnings 0 **/*.ts",
"lint": "npm run lint:eslint",
"format:prettier": "npm run prettier:base -- --write **/*.ts",
"format:eslint": "npm run eslint:base -- --fix **/*.ts",
"format": "npm run format:eslint && npm run format:prettier",
"prepublishOnly": "npm run test && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test",
"pre-push": "npm run lint && npm test"
}
},
"repository": {
"type": "git",
"url": "git://github.com/edvinh/node-sloc.git"
},
"keywords": [
"sloc"
],
"license": "MIT",
"dependencies": {
"chalk": "^4.1.0",
"graceful-fs": "^4.2.6",
"micromatch": "^4.0.2",
"minimist": "^1.2.5"
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/chai-as-promised": "^7.1.3",
"@types/expect": "^24.3.0",
"@types/graceful-fs": "^4.1.5",
"@types/micromatch": "^4.0.1",
"@types/minimist": "^1.2.1",
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.32",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"chai": "^4.3.3",
"chai-as-promised": "^7.1.1",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"mocha": "^8.3.1",
"np": "^7.4.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"ts-mocha": "^8.0.0",
"typescript": "^4.2.3"
},
"engines": {
"node": ">=8.0.0"
}
}