-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
94 lines (94 loc) · 3.22 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "ddb-table",
"version": "2.1.2",
"description": "Strongly typed library for querying and modeling DynamoDB documents.",
"keywords": [
"DynamoDB",
"DDB",
"TypeScript",
"Strongly-Typed",
"query",
"update",
"scan",
"DocumentClient"
],
"scripts": {
"type-check": "tsc --noEmit",
"type-check:watch": "yarn run type-check --watch",
"clean": "rm -rf lib",
"build": "yarn run build:types && yarn run build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "babel src --out-dir lib --extensions \".js,.ts\" --source-maps inline",
"lint": "eslint \"src/**\"",
"fix": "yarn run fix:lint",
"fix:lint": "yarn run lint --fix",
"mocha": "TS_NODE_FILES=true mocha -r ts-node/register \"src/**/*.test.ts\" --timeout 10000",
"mocha:coverage": "nyc yarn run mocha && nyc report --reporter=lcov",
"mocha:build": "mocha lib/**/*.test.js --timeout 10000",
"test:lint": "yarn run lint \"--max-warnings\" 0",
"test": "yarn run type-check && yarn run test:lint && yarn run mocha",
"coverage": "yarn run type-check && yarn run test:lint && yarn run mocha:coverage",
"test:build": "yarn run mocha:build",
"test:commit": "if [[ -z \"$(git status --untracked-files=no --porcelain)\" ]]; then\n echo \"All filed committed.\"\nelse\n echo \"Uncommitted changes found. Please Commit them first.\" && exit 1\nfi",
"prepare": "yarn run clean && yarn run build && husky install",
"prepublishOnly": "yarn run test:commit && yarn run test:build",
"postpublish": "git push && git push --tags",
"postversion": "yarn publish"
},
"author": "Moshe Simantov <[email protected]>",
"repository": "https://github.com/neuledge/ddb-table",
"license": "MIT",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index",
"exports": {
".": {
"import": "./index.mjs",
"require": "./lib/index.js"
},
"./lib/*": "./lib/*"
},
"files": [
"index.mjs",
"/lib/*"
],
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.131.0",
"@aws-sdk/lib-dynamodb": "^3.131.0",
"@aws-sdk/smithy-client": "^3.127.0",
"@aws-sdk/types": "^3.127.0",
"@babel/cli": "^7.18.6",
"@babel/core": "^7.18.6",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.0",
"@types/node": "^20.1.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.1",
"lint-staged": "^15.0.2",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
},
"peerDependencies": {
"@aws-sdk/lib-dynamodb": "3.x"
},
"lint-staged": {
"src/**/*": "eslint \"--max-warnings\" 0"
}
}