-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
68 lines (68 loc) · 1.88 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
{
"name": "appsync-resolverscript",
"version": "0.0.0",
"description": "Write AWS appsync resolvers in JavaScript.",
"author": "Alex McManus <me@alexmcmanus.co.uk>",
"repository": "https://github.com/alexmcmanus/appsync-resolverscript",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/!(*.test.*)"
],
"dependencies": {},
"devDependencies": {
"@pulumi/aws": "^1.8.0",
"@types/jest": "^24.0.20",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"codecov": "^3.6.5",
"eslint": "^6.6.0",
"eslint-config-standard-with-typescript": "^10.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettierx": "^0.5.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"npm-run-all": "^4.1.5",
"prettier-config-standard": "^1.0.1",
"ts-jest": "^24.1.0",
"typescript": "^3.6.4"
},
"peerDependencies": {
"@pulumi/aws": "^1.8.0"
},
"scripts": {
"clean": "git clean -fXd -e \\!node_modules -e \\!node_modules/**/*",
"test": "node ./scripts/test.js src",
"build": "tsc",
"lint": "eslint src/**/*.ts",
"format:js": "eslint --fix src/**/*.ts",
"format:other": "prettierx --write ./**/.*.js ./**/*.md ./**/*.json ./**/*.css",
"format": "npm-run-all format:*",
"prepack": "CI=true npm-run-all clean lint build test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm-run-all prepack"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
],
"!(src/**).{js,jsx,ts,tsx}": [
"prettierx --write",
"git add"
],
"*.{md,json,css}": [
"prettierx --write",
"git add"
]
}
}