-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 2.22 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
{
"name": "scriptlint",
"version": "0.0.0-released-semantically",
"description": "an enforcable script naming standard for package.json",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/peerigon/scriptlint",
"author": "Peerigon GmbH",
"license": "Unlicense",
"bin": {
"scriptlint": "./dist/cli.js"
},
"files": [
"/dist",
"/README.md",
"/LICENSE"
],
"scripts": {
"build": "run-s build:clean build:scripts build:chmod",
"build:chmod": "chmod +x ./dist/cli.js",
"build:clean": "rimraf ./dist",
"build:dev": "tsc -p tsconfig.build.json",
"build:scripts": "tsc -p tsconfig.build.json",
"dev": "run-s build other:watch",
"lint": "run-p test:self:fix test:lint:fix lint:fix",
"lint:fix": "prettier --write \"./tests/*.ts\" \"./src/*.ts\"",
"other:watch": "nodemon -e js,ts --watch src --exec 'run-p build:dev'",
"prepublishOnly": "run-p build",
"pretest": "run-s build",
"start": "node dist/index.js",
"test": "run-s test:exports test:lint test:types test:unit test:self",
"test:exports": "ts-unused-exports tsconfig.json --ignoreFiles src/index.ts",
"test:lint": "eslint --max-warnings 0 --cache ./src ./tests --ext js,ts,tsx",
"test:lint:fix": "eslint ./src ./tests --ext js,ts,tsx --fix",
"test:self": "./dist/cli.js",
"test:self:fix": "./dist/cli.js --fix",
"test:types": "tsc -p tsconfig.json --noEmit true",
"test:unit": "jest --coverage",
"test:update": "jest -u",
"test:watch": "jest --watch"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"eslint-config-peerigon": "^33.3.0",
"eslint-plugin-node": "^11.1.0",
"jest": "^29.5.0",
"jest-mock-console": "^2.0.0",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rimraf": "^5.0.0",
"semantic-release": "^21.0.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"ts-unused-exports": "^9.0.4",
"typescript": "^5.0.4"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^10.0.1",
"cosmiconfig": "^8.1.3",
"detect-indent": "^6.1.0"
}
}