-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.37 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
{
"name": "lambda-get-package",
"private": true,
"version": "0.0.1",
"description": "Lambda function for getting package version info",
"main": "./compiled/index.js",
"scripts": {
"prebuild": "npm run lint && rm -rf compiled/*",
"build": "tsc",
"copy-deps": "cp package*.json ./compiled && \\\ncd compiled && \\\nnpm ci --production && \\\nrm package*.json",
"lint": "tslint -c tslint.json -e 'node_modules/**/*' '**/*.ts'",
"start": "node ./compiled/index.js",
"tag-build": "echo \"{ \\\"tag\\\": \\\"b:$TRAVIS_BUILD_NUMBER;c:`echo $TRAVIS_COMMIT |cut -c1-8`;t:$TRAVIS_TAG\\\" }\" > ./src/build-info.json && cat ./src/build-info.json",
"test": "NODE_ENV=test nyc mocha --require source-map-support/register --require ts-node/register --recursive './src/**/*.tests.ts'",
"prezip": "npm run build -- --sourceMap false -d false && \\\nnpm run copy-deps",
"zip": "cd compiled && \\\nzip -r bundle.zip * -x *.tests.js"
},
"keywords": [],
"author": "Steve Konves",
"license": "MIT",
"devDependencies": {
"@types/aws-lambda": "^8.10.17",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.15",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"prettier": "^1.14.3",
"source-map-support": "^0.5.9",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.2.1"
}
}