forked from alexmacarthur/netlify-lambda-function-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 684 Bytes
/
package.json
File metadata and controls
21 lines (21 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"scripts": {
"copy": "cp lambda-src/purchase.js lambda/purchase.js",
"lambda-serve": "yarn run copy && netlify-lambda serve lambda",
"build": "NODE_ENV=production webpack && yarn run copy && netlify-lambda build lambda",
"dev": "NODE_ENV=development concurrently \"webpack-dev-server --content-base src/\" \"yarn run lambda-serve\"",
"test": "echo 'No tests are currently configured.'"
},
"dependencies": {
"dotenv": "^5.0.1",
"stripe": "^5.4.0",
"toml": "^2.3.3",
"uuid": "^3.2.1"
},
"devDependencies": {
"concurrently": "^3.5.1",
"netlify-lambda": "^0.2.0",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.11.1"
}
}