-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.42 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
{
"name": "@debtcollective/document-generation",
"version": "1.0.0",
"description": "Serverless service to handle document generation",
"engines": {
"node": "^8.10.0"
},
"scripts": {
"babel": "rm -rf dist && mkdir dist && ./node_modules/.bin/babel src --out-dir dist",
"lint": "./node_modules/.bin/eslint src",
"local": "yarn babel && cp -a src/templates/. dist/templates && cp -r node_modules dist && node dist/local/index.js",
"package-nochrome": "yarn package-prepare && cd dist && zip -rq ../package.zip .",
"package-prepare": "yarn lint && yarn babel && cp -r package.json dist && cd dist && yarn --production && cp -a ../src/templates/. ./templates",
"package": "yarn package-prepare && cp chrome/headless_shell.tar.gz dist && cd dist && zip -rq ../package.zip .",
"pre-commit": "lint-staged",
"test:ci": "yarn test:coverage",
"test:coverage": "jest --coverage",
"test": "jest"
},
"dependencies": {
"babel-eslint": "10.1.0",
"chrome-aws-lambda": "1.19.0",
"handlebars": "4.3.0",
"pdffiller": "0.0.11",
"puppeteer-core": "1.20.0",
"tar": "4.4.10",
"uuid": "3.4.0"
},
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.10.5",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-decorators": "7.10.5",
"@babel/plugin-proposal-export-namespace-from": "7.10.4",
"@babel/plugin-proposal-function-sent": "7.10.4",
"@babel/plugin-proposal-numeric-separator": "7.10.4",
"@babel/plugin-proposal-throw-expressions": "7.10.4",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/preset-env": "7.10.4",
"@babel/preset-flow": "7.10.4",
"aws-sdk": "2.493.0",
"eslint": "6.0.1",
"eslint-plugin-flowtype": "3.11.1",
"eslint-plugin-jest": "22.8.0",
"faker": "4.1.0",
"flow-bin": "0.129.0",
"husky": "3.0.2",
"jest": "24.8.0",
"lint-staged": "9.5.0",
"prettier-eslint-cli": "5.0.0",
"puppeteer": "1.20.0",
"serverless-hooks-plugin": "1.1.0",
"tmp": "0.1.0"
},
"lint-staged": {
"*.js": [
"prettier-eslint --write",
"flow focus-check",
"git add",
"eslint --fix"
],
"*.{json,md}": [
"prettier-eslint --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn pre-commit",
"post-commit": "git update-index --again"
}
}
}