-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.61 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.61 KB
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": "nft-id",
"version": "1.0.0",
"description": "NFT ID",
"license": "MIT",
"author": "defi.org",
"dependencies": {
"@types/web3": "^1.2.2",
"better-sqlite3": "^7.4.1",
"fs-extra": "^10.0.0",
"handlebars": "^4.7.7",
"needle": "^2.9.0",
"twitter-lite": "^1.1.0",
"web3": "^1.5.2",
"web3-utils": "^1.5.2"
},
"devDependencies": {
"@types/better-sqlite3": "^5.4.1",
"@types/chai": "4.x",
"@types/fs-extra": "^9.0.11",
"@types/mocha": "8.x",
"@types/needle": "^2.5.2",
"@types/node": "^15.6.0",
"@vercel/ncc": "0.x",
"chai": "4.x",
"mocha": "9.x",
"prettier": "^2.3.2",
"serverless": "2.x",
"serverless-pseudo-parameters": "^2.6.1",
"serverless-step-functions": "^3.0.0",
"ts-node": "^10.0.0",
"typescript": "4.x"
},
"scripts": {
"prettier": "prettier --write '{contracts,src,test}/**/*.{ts,js,json,sol}'",
"prebuild": "rm -rf dist && npm run prettier",
"build": "ncc build src/handler.ts --target=es5",
"writer": "HOME_DIR=dist node -e \"require('./dist/index.js').writer().then(console.log)\"",
"reader": "HOME_DIR=dist node -e \"require('./dist/index.js').reader({pathParameters:{param:'hello'}}).then(console.log)\"",
"test": "env TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\" }' mocha -r ts-node/register 'test/**/*.ts'",
"serverless-test": "GITHUB_REPO_NAME='repo' AWS_STORAGE_ARN='arn:aws:elasticfilesystem:us-e-2:123456789012:access-point/fsap-12345678901234567' AWS_STORAGE_SG='sg' AWS_STORAGE_SUBNET='subnet' npx serverless webpack --out dist"
},
"prettier": {
"printWidth": 120
}
}