|
2 | 2 | "name": "@shelf/dynamodb-parallel-scan", |
3 | 3 | "version": "1.0.2", |
4 | 4 | "description": "Scan large DynamoDB tables faster with parallelism", |
5 | | - "license": "MIT", |
| 5 | + "keywords": [ |
| 6 | + "parallel-scan", |
| 7 | + "dynamodb", |
| 8 | + "aws" |
| 9 | + ], |
6 | 10 | "repository": "shelfio/dynamodb-parallel-scan", |
| 11 | + "license": "MIT", |
7 | 12 | "author": { |
8 | 13 | "name": "Vlad Holubiev", |
9 | 14 | "email": "vlad@shelf.io", |
10 | 15 | "url": "shelf.io" |
11 | 16 | }, |
12 | | - "engines": { |
13 | | - "node": ">=8" |
14 | | - }, |
| 17 | + "files": [ |
| 18 | + "lib" |
| 19 | + ], |
| 20 | + "main": "lib/index.js", |
| 21 | + "types": "lib/index.d.ts", |
15 | 22 | "scripts": { |
| 23 | + "build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'", |
| 24 | + "build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib", |
16 | 25 | "coverage": "jest --coverage", |
17 | | - "lint": "eslint . --fix", |
18 | | - "test": "export ENVIRONMENT=local && jest src --runInBand" |
| 26 | + "lint": "eslint . --ext .js,.ts,.json --fix --quiet", |
| 27 | + "lint:ci": "eslint . --ext .js,.ts,.json --quiet", |
| 28 | + "test": "export ENVIRONMENT=local && jest src --runInBand", |
| 29 | + "type-check": "tsc --noEmit", |
| 30 | + "type-check:watch": "npm run type-check -- --watch" |
| 31 | + }, |
| 32 | + "husky": { |
| 33 | + "hooks": { |
| 34 | + "pre-commit": "lint-staged", |
| 35 | + "post-commit": "git update-index --again" |
| 36 | + } |
| 37 | + }, |
| 38 | + "lint-staged": { |
| 39 | + "*.{html,json,md,yml}": [ |
| 40 | + "prettier --write --ignore-path=./.eslintignore", |
| 41 | + "git add" |
| 42 | + ], |
| 43 | + "*.{ts,js}": [ |
| 44 | + "eslint --fix", |
| 45 | + "git add" |
| 46 | + ] |
| 47 | + }, |
| 48 | + "jest": { |
| 49 | + "testEnvironment": "node" |
19 | 50 | }, |
20 | | - "files": [ |
21 | | - "src" |
22 | | - ], |
23 | | - "main": "src/index.js", |
24 | | - "keywords": [], |
25 | 51 | "dependencies": { |
26 | 52 | "debug": "4.1.1", |
27 | 53 | "lodash.clonedeep": "4.5.0", |
28 | 54 | "lodash.times": "4.3.2", |
29 | 55 | "p-map": "3.0.0" |
30 | 56 | }, |
31 | 57 | "devDependencies": { |
| 58 | + "@babel/cli": "7.8.3", |
| 59 | + "@babel/core": "7.8.3", |
| 60 | + "@babel/preset-env": "7.8.3", |
| 61 | + "@babel/preset-typescript": "7.8.3", |
32 | 62 | "@shelf/eslint-config": "0.13.0", |
33 | 63 | "@shelf/jest-dynamodb": "1.6.0", |
| 64 | + "@types/debug": "4.1.5", |
| 65 | + "@types/jest": "24.9.0", |
| 66 | + "@types/lodash.clonedeep": "4.5.6", |
| 67 | + "@types/lodash.times": "4.3.6", |
| 68 | + "@types/node": "12", |
| 69 | + "@types/p-map": "2.0.0", |
34 | 70 | "aws-sdk": "2.536.0", |
35 | 71 | "eslint": "6.8.0", |
36 | 72 | "husky": "4.0.9", |
37 | 73 | "jest": "24.9.0", |
38 | 74 | "lint-staged": "9.5.0", |
39 | | - "prettier": "1.19.1" |
| 75 | + "prettier": "1.19.1", |
| 76 | + "typescript": "3.7.4" |
40 | 77 | }, |
41 | 78 | "peerDependencies": { |
42 | 79 | "aws-sdk": "2.x.x" |
43 | 80 | }, |
44 | | - "jest": { |
45 | | - "testEnvironment": "node" |
46 | | - }, |
47 | | - "husky": { |
48 | | - "hooks": { |
49 | | - "pre-commit": "lint-staged" |
50 | | - } |
51 | | - }, |
52 | | - "lint-staged": { |
53 | | - "*.js": [ |
54 | | - "eslint --fix", |
55 | | - "git add" |
56 | | - ], |
57 | | - "*.{html,json,md,yml}": [ |
58 | | - "prettier --write", |
59 | | - "git add" |
60 | | - ] |
| 81 | + "engines": { |
| 82 | + "node": ">=12" |
61 | 83 | }, |
62 | 84 | "publishConfig": { |
63 | 85 | "access": "public" |
|
0 commit comments