1 | {
|
2 | "name": "faastjs",
|
3 | "version": "6.1.12",
|
4 | "description": "Serverless batch computing made simple.",
|
5 | "main": "dist/index.js",
|
6 | "types": "dist/faastjs.d.ts",
|
7 | "files": [
|
8 | "/dist"
|
9 | ],
|
10 | "repository": {
|
11 | "type": "git",
|
12 | "url": "https://github.com/faastjs/faast.js"
|
13 | },
|
14 | "bugs": {
|
15 | "url": "https://github.com/faastjs/faast.js/issues"
|
16 | },
|
17 | "keywords": [
|
18 | "faast.js",
|
19 | "faastjs",
|
20 | "serverless",
|
21 | "aws",
|
22 | "lambda",
|
23 | "cloud functions",
|
24 | "batch"
|
25 | ],
|
26 | "scripts": {
|
27 | "build": "npm run clean && npx tsc && npm run doc",
|
28 | "watch": "npm run clean && npx tsc --watch",
|
29 | "doc": "node build/make-docs.js",
|
30 | "set-gcp-key": "node build/google-save-key.js",
|
31 | "test": "ava -v --concurrency=8 --timeout=4m",
|
32 | "test-local": "ava -v --concurrency=8 --timeout=2m -m='!remote*'",
|
33 | "test-aws": "ava -v --concurrency=4 --timeout=4m -m='!remote*' -m='*aws*'",
|
34 | "test-google": "ava -v --concurrency=4 --timeout=4m -m='!remote*' -m='*google*'",
|
35 | "test-aws-remote": "ava -v --concurrency=4 --timeout=4m -m='remote*aws*'",
|
36 | "test-google-remote": "ava -v --concurrency=4 --timeout=4m -m='remote*google*'",
|
37 | "test-debug": "DEBUG=faast:provider,faast:info ava --timeout=4m -v --fail-fast --serial",
|
38 | "test-release": "rm -rf test-release && mkdir test-release && cp examples/*.ts test-release && cp examples/*.json test-release && npm pack && cp faastjs-$npm_package_version.tgz test-release && cd test-release && npm install faastjs-$npm_package_version.tgz && npm run build && node dist/hello-world.js",
|
39 | "test-git-status": "git status --porcelain && test -z \"$(git status --porcelain)\"",
|
40 | "cleanup-cloud": "node dist/src/cli.js cleanup aws -x -f && node ./dist/src/cli.js cleanup google -x -f",
|
41 | "clean": "rm -rf dist",
|
42 | "tslint": "npx tslint -p tsconfig.json",
|
43 | "codecov": "codecov",
|
44 | "semantic-release": "semantic-release",
|
45 | "commit": "npx git-cz"
|
46 | },
|
47 | "author": {
|
48 | "name": "Andy Chou",
|
49 | "email": "andy@faastjs.org"
|
50 | },
|
51 | "license": "Apache-2.0",
|
52 | "bin": {
|
53 | "faastjs": "./dist/src/cli.js"
|
54 | },
|
55 | "engines": {
|
56 | "node": ">=8.0"
|
57 | },
|
58 | "dependencies": {
|
59 | "@types/debug": "^4.1.6",
|
60 | "@types/verror": "^1.10.4",
|
61 | "@types/webpack": "^5.28.0",
|
62 | "archiver": "^5.3.0",
|
63 | "aws-sdk": "^2.937.0",
|
64 | "commander": "^9.0.0",
|
65 | "debug": "^4.3.1",
|
66 | "fs-extra": "^10.0.0",
|
67 | "googleapis": "^104.0.0",
|
68 | "listr": "^0.14.3",
|
69 | "memory-fs": "^0.5.0",
|
70 | "ora": "^5.4.1",
|
71 | "process-doctor": "^1.0.0",
|
72 | "tslib": "^2.3.0",
|
73 | "uuid": "^8.3.2",
|
74 | "verror": "^1.10.0",
|
75 | "webpack": "^5.41.1",
|
76 | "webpack-merge": "^5.8.0",
|
77 | "webpack-node-externals": "^3.0.0",
|
78 | "yauzl": "^2.10.0"
|
79 | },
|
80 | "peerDependencies": {
|
81 | "@types/node": ">=8.0 || 14.14.41"
|
82 | },
|
83 | "devDependencies": {
|
84 | "@microsoft/api-documenter": "7.17.16",
|
85 | "@microsoft/api-extractor": "7.19.2",
|
86 | "@types/archiver": "5.3.1",
|
87 | "@types/aws-lambda": "8.10.100",
|
88 | "@types/express": "4.17.13",
|
89 | "@types/fs-extra": "9.0.13",
|
90 | "@types/listr": "0.14.4",
|
91 | "@types/lolex": "5.1.2",
|
92 | "@types/memory-fs": "0.3.3",
|
93 | "@types/node": "16.11.41",
|
94 | "@types/papaparse": "5.3.2",
|
95 | "@types/tar-stream": "2.2.2",
|
96 | "@types/uuid": "8.3.4",
|
97 | "@types/webpack-node-externals": "2.5.3",
|
98 | "@types/yauzl": "2.10.0",
|
99 | "ava": "3.15.0",
|
100 | "codecov": "3.8.3",
|
101 | "commitizen": "4.2.4",
|
102 | "cz-conventional-changelog": "3.3.0",
|
103 | "lolex": "6.0.0",
|
104 | "nyc": "15.1.0",
|
105 | "papaparse": "5.3.2",
|
106 | "prettier": "2.7.1",
|
107 | "semantic-release": "19.0.3",
|
108 | "tslint": "6.1.3",
|
109 | "tslint-config-prettier": "1.18.0",
|
110 | "typescript": "4.6.4",
|
111 | "webpack-cli": "4.10.0"
|
112 | },
|
113 | "ava": {
|
114 | "files": [
|
115 | "dist/test/*.test.js"
|
116 | ]
|
117 | },
|
118 | "prettier": {
|
119 | "printWidth": 90,
|
120 | "tabWidth": 4,
|
121 | "useTabs": false,
|
122 | "arrowParens": "avoid",
|
123 | "trailingComma": "none"
|
124 | },
|
125 | "nyc": {
|
126 | "exclude": [
|
127 | "tmp/**",
|
128 | "test/fixtures/**",
|
129 | "coverage/**",
|
130 | "**/node_modules/**",
|
131 | "src/trace.ts"
|
132 | ],
|
133 | "extension": [
|
134 | ".ts"
|
135 | ],
|
136 | "reporter": [
|
137 | "lcov",
|
138 | "text"
|
139 | ],
|
140 | "check-coverage": true,
|
141 | "lines": 10
|
142 | },
|
143 | "renovate": {
|
144 | "extends": [
|
145 | "config:base"
|
146 | ],
|
147 | "automerge": true,
|
148 | "prHourlyLimit": 1,
|
149 | "semanticCommits": true,
|
150 | "packageRules": [
|
151 | {
|
152 | "packagePatterns": [
|
153 | "^@microsoft/api"
|
154 | ],
|
155 | "extends": [
|
156 | "schedule:monthly"
|
157 | ]
|
158 | }
|
159 | ]
|
160 | },
|
161 | "release": {},
|
162 | "config": {
|
163 | "commitizen": {
|
164 | "path": "./node_modules/cz-conventional-changelog"
|
165 | }
|
166 | }
|
167 | }
|