create-payload-app 0.3.13 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -9,8 +9,11 @@
9
9
  "copyfiles": "copyfiles -u 1 \"src/templates/**\" dist",
10
10
  "typecheck": "tsc --noEmit",
11
11
  "lint": "eslint \"src/**/*.ts\"",
12
+ "lint:fix": "eslint \"src/**/*.ts\" --fix",
13
+ "lint-staged": "lint-staged --quiet",
12
14
  "test": "jest",
13
- "prepublishOnly": "yarn test && yarn build"
15
+ "prepublishOnly": "yarn test && yarn build",
16
+ "prepare": "husky install"
14
17
  },
15
18
  "files": [
16
19
  "package.json",
@@ -18,7 +21,6 @@
18
21
  "bin"
19
22
  ],
20
23
  "dependencies": {
21
- "@sentry/node": "^6.18.2",
22
24
  "@sindresorhus/slugify": "^1.1.0",
23
25
  "arg": "^5.0.0",
24
26
  "chalk": "^4.1.0",
@@ -27,11 +29,12 @@
27
29
  "execa": "^5.0.0",
28
30
  "figures": "^3.2.0",
29
31
  "fs-extra": "^9.0.1",
32
+ "handlebars": "^4.7.7",
30
33
  "ora": "^5.1.0",
31
34
  "prompts": "^2.4.0",
32
35
  "terminal-link": "^2.1.1"
33
36
  },
34
- "version": "0.3.13",
37
+ "version": "0.3.15",
35
38
  "devDependencies": {
36
39
  "@types/command-exists": "^1.2.0",
37
40
  "@types/degit": "^2.8.3",
@@ -39,16 +42,28 @@
39
42
  "@types/jest": "^27.0.3",
40
43
  "@types/node": "^16.6.2",
41
44
  "@types/prompts": "^2.4.0",
42
- "@typescript-eslint/eslint-plugin": "^4.29.2",
43
- "@typescript-eslint/parser": "^4.29.2",
45
+ "@typescript-eslint/eslint-plugin": "^5.41.0",
46
+ "@typescript-eslint/parser": "^5.41.0",
44
47
  "copyfiles": "^2.4.1",
45
48
  "eslint": "^7.32.0",
46
49
  "eslint-config-airbnb-base": "^14.2.1",
47
50
  "eslint-config-prettier": "^8.3.0",
48
51
  "eslint-plugin-prettier": "^3.4.0",
52
+ "husky": "^8.0.1",
49
53
  "jest": "^27.4.5",
54
+ "lint-staged": "^13.0.3",
50
55
  "prettier": "^2.3.2",
51
56
  "ts-jest": "^27.1.1",
52
- "typescript": "^4.3.5"
57
+ "typescript": "^4.8.4"
58
+ },
59
+ "husky": {
60
+ "hooks": {
61
+ "pre-commit": "lint-staged"
62
+ }
63
+ },
64
+ "lint-staged": {
65
+ "*.{ts,tsx}": [
66
+ "eslint \"src/**/*.ts\" --cache --fix"
67
+ ]
53
68
  }
54
69
  }