-
Notifications
You must be signed in to change notification settings - Fork 113
/
package.json
67 lines (67 loc) · 2.21 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
{
"name": "parser-api",
"version": "0.0.1",
"author": "Postlight",
"description": "The serverless Postlight Parser API",
"main": "src/handler.js",
"scripts": {
"deploy:env": "cross-env-shell sls deploy --stage $NODE_ENV",
"deploy": "cross-env NODE_ENV=dev yarn deploy:env",
"deploy:prod": "cross-env NODE_ENV=prod yarn deploy:env",
"deploy:stage": "cross-env NODE_ENV=stage yarn deploy:env",
"lint": "tslint -c tslint.json --fix './src/**/*.ts' && eslint ./src --fix",
"precommit": "lint-staged",
"serve": "serverless offline start",
"serve:watch": "nodemon -e js,ts,jsx,tsx -x serverless offline start",
"tail:parser": "serverless logs --function postlightParser --tail",
"tail:html": "serverless logs --function parseHtml --tail",
"test": "jest",
"test:watch": "jest --watch",
"build": "serverless webpack",
"test:parse": "serverless invoke local --function postlightParser --path fixtures/nytimes.json",
"test:html": "serverless invoke local --function parseHtml --path fixtures/html.json"
},
"dependencies": {
"@postlight/parser": "^2.2.2",
"@types/aws-lambda": "^8.10.15"
},
"devDependencies": {
"@babel/core": "7.3.3",
"@babel/preset-env": "7.3.1",
"@types/jest": "^24.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.0",
"cross-env": "^5.2.0",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-import-resolver-typescript": "^1.1.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.0",
"husky": "^1.0.0",
"jest": "^24.1.0",
"lint-staged": "^8.0.0",
"nodemon": "^1.18.9",
"prettier": "^1.14.2",
"serverless": "^1.58.0",
"serverless-offline": "^5.12.0",
"serverless-webpack": "^5.3.1",
"ts-jest": "^24.0.0",
"ts-loader": "^5.3.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-react": "^3.6.0",
"typescript": "^3.2.1",
"webpack": "^4.17.1",
"webpack-node-externals": "^1.7.2"
},
"lint-staged": {
"src/**/*.js": [
"yarn lint",
"prettier --write",
"git add"
]
}
}