-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.44 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
{
"name": "proj-pronetplat-aa",
"description": "proj-pronetplat-aa",
"version": "0.0.1",
"private": true,
"files": [
"**/*.js"
],
"dependencies": {
"@fauna-labs/fauna-schema-migrate": "^2.1.5",
"bcrypt": "^5.0.1",
"cross-fetch": "^3.1.4",
"date-fns": "^2.24.0",
"faunadb": "^4.4.1",
"firebase-admin": "^9.11.1",
"jimp": "^0.16.1",
"jsonwebtoken": "^8.5.1",
"mime-types": "^2.1.32",
"path-to-regexp": "^6.2.0"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@babel/runtime": "^7.15.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.2.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-search-and-replace": "^1.1.0",
"babel-preset-minify": "^0.5.1",
"eslint": "^7.32.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-module-resolver": "^1.4.0",
"husky": "7.0.2",
"jest": "^27.2.0",
"lint-staged": "^11.1.2",
"prettier": "^2.4.1",
"recursive-readdir-async": "^1.1.8"
},
"scripts": {
"test": "jest",
"eslint": "eslint \"**/*.js\" --fix",
"prettier": "prettier \"**/*.js\" --write",
"lint": "npm run prettier && npm run eslint",
"build-functions": "node buildScripts/buildFunctions.js",
"build-makefile": "node buildScripts/buildMakeFile.js",
"build-layers": "babel src/dependencies -d build/dependencies --copy-files",
"build-package-json": "node buildScripts/buildPackageJson.js",
"copy-files": "cp samconfig.toml build/samconfig.toml && cp template.yaml build/template.yaml && cp yarn.lock build/yarn.lock && cp yarn.lock build/dependencies/yarn.lock && cp Makefile build/dependencies/Makefile && cp Makefile build/Makefile",
"build": "rm -rf build Makefile && mkdir build && yarn build-functions && yarn build-layers && yarn build-makefile && yarn build-package-json && yarn copy-files",
"clearData": "node scripts/clearData.js",
"prepare": "husky install",
"migration:generate": "FAUNA_LEGACY=true FAUNA_NOPRINT=true yarn fauna-schema-migrate generate",
"migration:rollback": "FAUNA_LEGACY=true FAUNA_NOPRINT=true FAUNA_ADMIN_KEY=fnAEJqAojMACCvB2Yu_hVixDpF1df5WYLYxXThkh yarn fauna-schema-migrate rollback"
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
]
}
}