-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 1.82 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
{
"name": "node-red-contrib-bundler",
"version": "1.0.0-alpha.1",
"main": "dist/build.js",
"bin": "dist/cli.js",
"module": "./dist/build.esm.mjs",
"exports": {
"require": "./dist/build.js",
"default": "./dist/build.esm.mjs"
},
"source": "src/index.ts",
"types": "dist/index.d.ts",
"license": "bsd-2-clause",
"description": "Bundle Node-RED and all required node into one minified javascript file for AWS Lambda and command line apps.",
"keywords": [
"node-red",
"bundler",
"lambda",
"aws"
],
"author": "Andreas Heissenberger <[email protected]>",
"homepage": "https://github.com/aheissenberger/node-red-contrib-bundler",
"repository": {
"type": "git",
"url": "https://github.com/aheissenberger/node-red-contrib-bundler.git"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/yargs": "^16.0.1",
"jest": "^26.6.3",
"microbundle": "^0.13.0",
"mock-fs": "^4.14.0",
"node-red": "^1.3.4",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1"
},
"scripts": {
"deploy-type-wrapper": "rm -fr dist/type_wrapper; mkdir -p dist; cp -R src/type_wrapper dist",
"build": "microbundle build src/cli.ts --target=node -f es,cjs --sourcemap -o dist/cli.js",
"dev": "microbundle watch src/cli.ts --target=node -f es,cjs --no-compress --sourcemap -o dist/cli.js",
"prepublishOnly": "rm -fr dist; mkdir -p dist/type_wrapper; cp -R src/type_wrapper dist && microbundle build src/cli.ts --target=node -f es,cjs --compress --no-sourcemap -o dist/cli.js",
"test": "npm run jest"
},
"dependencies": {
"esbuild": "^0.11.20",
"esbuild-plugin-alias": "^0.1.2",
"esbuild-plugin-text-replace": "^1.1.0",
"kleur": "^4.1.4",
"yargs": "^17.0.1"
},
"optionalDependencies": {
"node-red-contrib-lambda-io": "^0.2.3",
"pkg": "^5.1.0"
}
}