|
1 | 1 | {
|
2 | 2 | "name": "redis-caching-manager",
|
3 |
| - "version": "2.0.0", |
| 3 | + "version": "2.1.0", |
4 | 4 | "description": "A cache manager for redis",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "types": "lib/index.d.ts",
|
| 7 | + "module": "lib/index.mjs", |
7 | 8 | "scripts": {
|
8 |
| - "build": "tsc", |
| 9 | + "clean": "rm -rf lib/", |
| 10 | + "build": "npm run clean && rollup -c", |
9 | 11 | "format": "prettier --write \"src/**/*.ts\"",
|
10 | 12 | "lint": "tslint -p tsconfig.json",
|
11 | 13 | "test": "jest --config jestconfig.json --detectOpenHandles --unhandled-rejections=strict",
|
12 | 14 | "test:docker": "docker-compose --file ./.docker/docker-compose.yml up --abort-on-container-exit --exit-code-from redis-cache-manager",
|
13 | 15 | "posttest:docker": "docker-compose --file ./.docker/docker-compose.yml down --volumes --remove-orphans",
|
14 | 16 | "prepare": "npm run build",
|
15 |
| - "prepublishOnly": "npm run test:docker && npm run lint", |
16 | 17 | "preversion": "npm run lint",
|
17 | 18 | "version": "npm run format && git add -A src",
|
18 | 19 | "postversion": "git push && git push --tags"
|
|
24 | 25 | },
|
25 | 26 | "devDependencies": {
|
26 | 27 | "@types/jest": "^27.4.0",
|
| 28 | + "esbuild": "^0.14.27", |
27 | 29 | "jest": "^27.4.7",
|
28 | 30 | "prettier": "^2.5.1",
|
| 31 | + "rollup": "^2.70.1", |
| 32 | + "rollup-plugin-dts": "^4.2.0", |
| 33 | + "rollup-plugin-esbuild": "^4.8.2", |
29 | 34 | "ts-jest": "^27.1.3",
|
30 | 35 | "tslint": "^6.1.3",
|
31 | 36 | "tslint-config-prettier": "^1.18.0",
|
|
0 commit comments