forked from zeplin/zeplin-html-to-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.31 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
{
"name": "zeplin-html-to-pdf",
"version": "2.0.0",
"description": "AWS Lambda function that converts HTML pages to PDF documents",
"scripts": {
"lint": "./node_modules/.bin/eslint --quiet .",
"lint:staged": "./node_modules/.bin/eslint --quiet",
"lint:fix": "npm run lint -- --fix",
"pack": "rm -f package.zip && zip package.zip -r index.js utils lib fonts",
"deploy:dev": "npm run pack && aws lambda update-function-code --region eu-west-2 --function-name htmlToPdf --zip-file fileb://`pwd`/package.zip",
"deploy:prod": "npm run pack && aws lambda update-function-code --region eu-west-2 --function-name htmlToPdf --zip-file fileb://`pwd`/package.zip",
"postinstall": "npx @guidesmiths/license-checker --failOn AGPL --outputFileName GS-LICENSE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zeplin/zeplin-html-to-pdf.git"
},
"bugs": {
"url": "https://github.com/zeplin/zeplin-html-to-pdf/issues"
},
"devDependencies": {
"@zeplin/eslint-config": "^2.0.0",
"eslint": "^4.0.0",
"husky": "^4.2.1",
"lint-staged": "^10.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run --silent lint:staged"
]
},
"dependencies": {
"@guidesmiths/license-checker": "^1.0.5"
}
}