/
package.json
126 lines (126 loc) · 4.71 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "simple-artifact-builder",
"author": "ehmpathy",
"description": "A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.",
"version": "1.1.11",
"repository": "ehmpathy/simple-artifact-builder",
"homepage": "https://github.com/ehmpathy/simple-artifact-builder",
"keywords": [
"declarative",
"best",
"practice",
"best-practice",
"best-practices",
"maintainable",
"scalable",
"repository",
"linting",
"fix"
],
"bugs": "https://github.com/ehmpathy/simple-artifact-builder/issues",
"main": "dist/contract/index.js",
"types": "dist/contract/index.d.ts",
"bin": {
"simple-artifact-builder": "./bin/run"
},
"engines": {
"node": ">=12.0.0"
},
"files": [
"/bin",
"/dist"
],
"oclif": {
"commands": "./dist/contract/commands",
"bin": "simple-artifact-builder",
"plugins": [
"@oclif/plugin-help"
]
},
"scripts": {
"generate:cli-readme": "npm run build && oclif-dev readme",
"build:static-assets": "copyfiles -u 1 src/logic/contents/*.js dist/",
"commit:with-cli": "npx cz",
"fix:format:terraform": "echo 'no terraform'",
"fix:format:prettier": "prettier --write '**/*.ts' --config ./prettier.config.js",
"fix:format": "npm run fix:format:prettier && npm run fix:format:terraform",
"fix:lint": "eslint -c ./.eslintrc.js src/**/*.ts --fix",
"build:artifact": "echo 'no artifact'",
"build:clean": "rm dist/ -rf",
"build:compile": "tsc -p ./tsconfig.build.json",
"build": "npm run build:clean && npm run build:compile && npm run build:static-assets && npm run build:artifact",
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
"test:types": "tsc -p ./tsconfig.build.json --noEmit",
"test:format:prettier": "prettier --parser typescript --check 'src/**/*.ts' --config ./prettier.config.js",
"test:format:terraform": "echo 'no terraform'",
"test:format": "npm run test:format:prettier && npm run test:format:terraform",
"test:lint": "npm run test:lint:eslint && npm run test:lint:deps",
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests",
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests",
"prepublish": "npm run build",
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
"test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
"test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
"prepush": "npm run test && npm run build",
"preversion": "npm run prepush",
"postversion": "git push origin HEAD --tags --no-verify",
"test:lint:eslint": "eslint -c ./.eslintrc.js src/**/*.ts",
"test:lint:deps": "npx depcheck -c ./depcheckrc.yml"
},
"dependencies": {
"@oclif/core": "2.0.11",
"@oclif/plugin-help": "3.1.0",
"@vercel/nft": "0.17.0",
"archiver": "5.3.0",
"chalk": "4.1.2",
"domain-objects": "0.10.3",
"fast-glob": "3.2.2",
"joi": "17.4.0",
"oclif": "3.6.5",
"pretty-bytes": "5.6.0",
"simple-leveled-log-methods": "0.1.4",
"ts-node": "8.6.2",
"type-fns": "0.8.1",
"uuid": "9.0.0",
"yaml": "1.6.0"
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@oclif/dev-cli": "1.22.2",
"@trivago/prettier-plugin-sort-imports": "2.0.4",
"@tsconfig/node-lts-strictest": "18.12.1",
"@types/archiver": "5.1.1",
"@types/jest": "29.2.4",
"@types/joi": "17.2.3",
"@types/node": "18.11.17",
"@types/uuid": "9.0.0",
"@types/yaml": "1.0.2",
"@typescript-eslint/eslint-plugin": "5.46.1",
"@typescript-eslint/parser": "5.46.1",
"copyfiles": "2.4.1",
"core-js": "3.26.1",
"cz-conventional-changelog": "3.3.0",
"declapract": "0.10.9",
"declapract-typescript-ehmpathy": "0.20.11",
"depcheck": "1.4.3",
"eslint": "8.30.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "7.0.2",
"jest": "29.3.1",
"node-stream-zip": "1.15.0",
"prettier": "2.8.1",
"ts-jest": "29.0.3",
"ts-node": "10.9.1",
"typescript": "4.9.4",
"uuid": "3.3.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}