-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
84 lines (84 loc) · 2.38 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
{
"name": "@vtex/cli-plugin-template",
"description": "vtex plugin template",
"version": "0.0.0",
"bugs": "https://github.com/vtex/cli-plugin-template/issues",
"dependencies": {
"@oclif/command": "^1",
"@oclif/config": "^1",
"tslib": "^1"
},
"devDependencies": {
"@oclif/dev-cli": "^1",
"@oclif/plugin-help": "^3",
"@types/jest": "^26.0.3",
"@types/node": "^14.0.14",
"eslint": "^6.8.0",
"eslint-config-oclif": "^3.1",
"eslint-config-vtex": "^12.3.0",
"globby": "^10",
"husky": "^4.2.5",
"jest": "^25.1.0",
"lint-staged": "^10.2.11",
"nodemon": "^2.0.2",
"nodemon-notifier-cli": "https://github.com/Slessi/nodemon-notifier-cli.git",
"prettier": "^2.0.1",
"ts-jest": "^25.2.1",
"ts-node": "^8",
"typescript": "^3.8.2",
"vtex": "^2.121.1"
},
"engines": {
"node": ">=8.0.0"
},
"files": [
"/build",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/yarn.lock"
],
"homepage": "https://github.com/vtex/cli-plugin-template",
"keywords": [
"oclif-plugin"
],
"license": "MIT",
"oclif": {
"commands": "./build/commands",
"bin": "vtex",
"devPlugins": [
"@oclif/plugin-help"
]
},
"repository": "vtex/cli-plugin-template",
"scripts": {
"build-clean": "rm -rf build",
"build-incremental": "tsc --incremental",
"build": "yarn build-clean && yarn tsc && OCLIF_COMPILATION=true yarn oclif-dev manifest --color=256",
"ci:prettier-check": "prettier --check --config ./.prettierrc \"./src/**/*.{ts,tsx,js,jsx,json}\"",
"ci:test": "yarn test --ci",
"format-lint": "yarn format && yarn lint",
"format": "prettier --config ./.prettierrc --write \"**/*.{ts,js,json}\"",
"lint": "eslint ./src --cache --ext .ts --config .eslintrc",
"postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf build && tsc -b && oclif-dev manifest --color=256 && oclif-dev readme",
"prepublishOnly": "bash ./scripts/publishLock.sh",
"test": "jest --passWithNoTests",
"version": "oclif-dev readme && git add README.md",
"watch": "yarn build-clean && yarn nodemon"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,tsx,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
}
}