|
19 | 19 | "build:cjs": "tsc --build tsconfig.json && echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json", |
20 | 20 | "build:esm": "tsc --build tsconfig.esm.json && echo '{ \"type\": \"module\" }' > lib/esm/package.json", |
21 | 21 | "build": "npm run build:esm & npm run build:cjs", |
22 | | - "lint": "eslint --ext .ts,.js --no-error-on-unmatched-pattern .", |
23 | | - "lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .", |
| 22 | + "lint": "biome lint .", |
| 23 | + "lint:fix": "biome check --write .", |
24 | 24 | "prepack": "node ../../.github/scripts/release_patch_package_json.js ." |
25 | 25 | }, |
26 | 26 | "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/commons#readme", |
|
52 | 52 | }, |
53 | 53 | "typesVersions": { |
54 | 54 | "*": { |
55 | | - "typeutils": [ |
56 | | - "lib/cjs/typeUtils.d.ts", |
57 | | - "lib/esm/typeUtils.d.ts" |
58 | | - ], |
59 | | - "utils/base64": [ |
60 | | - "lib/cjs/fromBase64.d.ts", |
61 | | - "lib/esm/fromBase64.d.ts" |
62 | | - ], |
63 | | - "types": [ |
64 | | - "lib/cjs/types/index.d.ts", |
65 | | - "lib/esm/types/index.d.ts" |
66 | | - ] |
| 55 | + "typeutils": ["lib/cjs/typeUtils.d.ts", "lib/esm/typeUtils.d.ts"], |
| 56 | + "utils/base64": ["lib/cjs/fromBase64.d.ts", "lib/esm/fromBase64.d.ts"], |
| 57 | + "types": ["lib/cjs/types/index.d.ts", "lib/esm/types/index.d.ts"] |
67 | 58 | } |
68 | 59 | }, |
69 | 60 | "types": "./lib/cjs/index.d.ts", |
70 | 61 | "main": "./lib/cjs/index.js", |
71 | | - "files": [ |
72 | | - "lib" |
73 | | - ], |
| 62 | + "files": ["lib"], |
74 | 63 | "repository": { |
75 | 64 | "type": "git", |
76 | 65 | "url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git" |
77 | 66 | }, |
78 | 67 | "bugs": { |
79 | 68 | "url": "https://github.com/aws-powertools/powertools-lambda-typescript/issues" |
80 | 69 | }, |
81 | | - "keywords": [ |
82 | | - "aws", |
83 | | - "lambda", |
84 | | - "powertools", |
85 | | - "serverless", |
86 | | - "nodejs" |
87 | | - ], |
| 70 | + "keywords": ["aws", "lambda", "powertools", "serverless", "nodejs"], |
88 | 71 | "devDependencies": { |
89 | 72 | "@aws-lambda-powertools/testing-utils": "file:../testing" |
90 | 73 | } |
|
0 commit comments