-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
103 lines (103 loc) · 3.25 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
95
96
97
98
99
100
101
102
103
{
"name": "@hexlabs/dynamo-ts",
"sideEfects": false,
"version": "6.0.0",
"type": "module",
"types": "dist/esm/index.d.ts",
"exports": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"license": "MIT",
"files": [
"dist"
],
"exclude": [
"node_modules",
"dist"
],
"scripts": {
"build:esm": "tsc --project tsconfig.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"build:cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build": "npm run format:fix && npm run build:esm && npm run build:cjs",
"prepare": "husky install",
"format": "prettier --single-quote --trailing-comma all --check './src/**.{ts,tsx}' './src/**/**.{ts,tsx}' './test/**.{ts,tsx}' './test/**/**.{ts,tsx}'",
"format:fix": "prettier --single-quote --trailing-comma all --write './src/**.{ts,tsx}' './src/**/**.{ts,tsx}' './test/**.{ts,tsx}' './test/**/**.{ts,tsx}'",
"pretest": "export NODE_NO_WARNINGS=1 && node --loader ts-node/esm ./test/jest-setup.ts",
"test": "jest --ci --runInBand --coverage --reporters=default --reporters=jest-junit --passWithNoTests",
"format:pretty": "prettier --single-quote --trailing-comma all --write './src/**/*.ts'",
"format:lint": "eslint src/**/*.ts --fix",
"docs": "md-magic"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"node": true,
"es6": true,
"jest/globals": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint/eslint-plugin",
"jest"
],
"rules": {
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/ban-types": 0,
"jest/expect-expect": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-this-alias": 0
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hexlabsio/dynamo-ts"
},
"author": "hexlabs",
"bugs": {
"url": "https://github.com/hexlabsio/dynamo-ts/issues"
},
"husky": {
"hooks": {
"pre-commit": "npm run format:fix && npm run lint && npm outdated"
}
},
"homepage": "https://github.com/hexlabsio/dynamo-ts#readme",
"peerDependencies": {
"@aws-sdk/client-dynamodb": "^3.49.0"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.348.0",
"@shelf/jest-dynamodb": "^3.4.2",
"@types/jest": "^29.5.2",
"@types/node": "^18.16.16",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"eslint-plugin-jest": "^27.6.0",
"husky": "^6.0.0",
"jest": "^29.5.0",
"jest-junit": "^13.0.0",
"markdown-magic": "^2.6.1",
"minimist": "^1.2.6",
"node-loader": "^0.6.0",
"prettier": "^2.5.1",
"terser": "^5.14.2",
"ts-jest": "^29.1.1",
"typescript": "^5.1.3"
}
}