This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.55 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
{
"name": "oso-serverless-authorizer",
"version": "1.0.0",
"description": "This repository demonstrates a working implementation of Oso in an AWS Lambda context using TypeScript, and being deployed with Serverless Framework.",
"main": "index.ts",
"scripts": {
"dev": "node server.js",
"start": "sls offline",
"deploy": "npx sls deploy",
"teardown": "npx sls remove",
"package": "npm run clean && npm run create:folders && tsc && npm run copy:files && npm run copy:modules && npm run zip",
"create:folders": "mkdir -p build/node_modules/oso && mkdir -p build/node_modules/lodash.isequal",
"copy:files": "cp package.json build && cp policy.polar build",
"copy:modules": "cp -R node_modules/oso build/node_modules && cp -R node_modules/lodash.isequal build/node_modules",
"clean": "rm -f authorizer.zip && rm -rf build",
"zip": "cd build && zip -r authorizer.zip . && cd .. && mv build/authorizer.zip .",
"zipinfo": "zipinfo authorizer.zip"
},
"keywords": [
"aws",
"demo",
"oso",
"authorizer",
"serverless",
"serverless-authorizer"
],
"author": "Mikael Vesavuori",
"license": "MIT",
"devDependencies": {
"@types/aws-lambda": "8",
"@types/node": "18",
"@typescript-eslint/eslint-plugin": "5",
"@typescript-eslint/parser": "5",
"eslint": "8",
"eslint-config-prettier": "8",
"eslint-plugin-prettier": "4",
"prettier": "2",
"serverless": "3",
"serverless-offline": "11",
"ts-node": "10",
"typescript": "4"
},
"dependencies": {
"oso": "0.26.0"
}
}