1 | {
|
2 | "name": "faastjs",
|
3 | "version": "6.0.24",
|
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": "^8.0.0",
|
65 | "debug": "^4.3.1",
|
66 | "fs-extra": "^10.0.0",
|
67 | "googleapis": "^89.0.0",
|
68 | "listr": "^0.14.3",
|
69 | "loader-utils": "^2.0.0",
|
70 | "memory-fs": "^0.5.0",
|
71 | "ora": "^5.4.1",
|
72 | "process-doctor": "^1.0.0",
|
73 | "tslib": "^2.3.0",
|
74 | "uuid": "^8.3.2",
|
75 | "verror": "^1.10.0",
|
76 | "webpack": "^5.41.1",
|
77 | "webpack-merge": "^5.8.0",
|
78 | "webpack-node-externals": "^3.0.0",
|
79 | "yauzl": "^2.10.0"
|
80 | },
|
81 | "peerDependencies": {
|
82 | "@types/node": ">=8.0 || 14.14.41"
|
83 | },
|
84 | "devDependencies": {
|
85 | "@microsoft/api-documenter": "7.13.54",
|
86 | "@microsoft/api-extractor": "7.18.11",
|
87 | "@types/archiver": "5.3.0",
|
88 | "@types/aws-lambda": "8.10.84",
|
89 | "@types/express": "4.17.13",
|
90 | "@types/fs-extra": "9.0.13",
|
91 | "@types/listr": "0.14.4",
|
92 | "@types/loader-utils": "2.0.3",
|
93 | "@types/lolex": "5.1.2",
|
94 | "@types/memory-fs": "0.3.3",
|
95 | "@types/node": "15.0.3",
|
96 | "@types/papaparse": "5.3.0",
|
97 | "@types/tar-stream": "2.2.2",
|
98 | "@types/uuid": "8.3.1",
|
99 | "@types/webpack-node-externals": "2.5.3",
|
100 | "@types/yauzl": "2.9.2",
|
101 | "ava": "3.15.0",
|
102 | "codecov": "3.8.3",
|
103 | "commitizen": "4.2.4",
|
104 | "cz-conventional-changelog": "3.3.0",
|
105 | "lolex": "6.0.0",
|
106 | "nyc": "15.1.0",
|
107 | "papaparse": "5.3.1",
|
108 | "prettier": "2.4.1",
|
109 | "semantic-release": "18.0.0",
|
110 | "tslint": "6.1.3",
|
111 | "tslint-config-prettier": "1.18.0",
|
112 | "typescript": "4.3.5",
|
113 | "webpack-cli": "4.9.1"
|
114 | },
|
115 | "ava": {
|
116 | "files": [
|
117 | "dist/test/*.test.js"
|
118 | ]
|
119 | },
|
120 | "prettier": {
|
121 | "printWidth": 90,
|
122 | "tabWidth": 4,
|
123 | "useTabs": false,
|
124 | "arrowParens": "avoid",
|
125 | "trailingComma": "none"
|
126 | },
|
127 | "nyc": {
|
128 | "exclude": [
|
129 | "tmp/**",
|
130 | "test/fixtures/**",
|
131 | "coverage/**",
|
132 | "**/node_modules/**",
|
133 | "src/trace.ts"
|
134 | ],
|
135 | "extension": [
|
136 | ".ts"
|
137 | ],
|
138 | "reporter": [
|
139 | "lcov",
|
140 | "text"
|
141 | ],
|
142 | "check-coverage": true,
|
143 | "lines": 10
|
144 | },
|
145 | "renovate": {
|
146 | "extends": [
|
147 | "config:base"
|
148 | ],
|
149 | "automerge": true,
|
150 | "prHourlyLimit": 1,
|
151 | "semanticCommits": true,
|
152 | "packageRules": [
|
153 | {
|
154 | "packagePatterns": [
|
155 | "^@microsoft/api"
|
156 | ],
|
157 | "extends": [
|
158 | "schedule:monthly"
|
159 | ]
|
160 | }
|
161 | ]
|
162 | },
|
163 | "release": {},
|
164 | "config": {
|
165 | "commitizen": {
|
166 | "path": "./node_modules/cz-conventional-changelog"
|
167 | }
|
168 | }
|
169 | }
|