|
1 | 1 | { |
2 | 2 | "name": "imagekit", |
3 | | - "version": "4.0.0", |
| 3 | + "version": "4.0.1", |
4 | 4 | "description": "Offical NodeJS SDK for ImageKit.io integration", |
5 | | - "main": "./dist/cjs/index.js", |
6 | | - "types": "./dist/types/index.d.ts", |
7 | | - "module": "./dist/esm/index.js", |
| 5 | + "main": "./dist/index.js", |
| 6 | + "types": "./dist/index.d.ts", |
8 | 7 | "scripts": { |
9 | | - "compile": "concurrently 'yarn:compile:cjs' 'yarn:compile:esm' 'yarn:compile:types'", |
10 | | - "compile:cjs": "rm -rf dist/cjs & tsc -p tsconfig.cjs.json", |
11 | | - "compile:esm": "rm -rf dist/esm & tsc -p tsconfig.esm.json", |
12 | | - "compile:types": "rm -rf dist/types & tsc -p tsconfig.types.json", |
| 8 | + "compile": "rm -rf dist/ & tsc -p tsconfig.json", |
13 | 9 | "test": "export NODE_ENV=test; nyc ./node_modules/mocha/bin/mocha --exit -t 40000 tests/*.js;ex=$?;unset NODE_ENV; exit $ex;", |
| 10 | + "test-e2e": "sh test-e2e.sh; exit $?;", |
14 | 11 | "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
15 | 12 | "prepack": "npm run compile" |
16 | 13 | }, |
|
56 | 53 | "@babel/preset-env": "^7.14.5", |
57 | 54 | "@babel/preset-typescript": "^7.14.5", |
58 | 55 | "@babel/register": "^7.14.5", |
| 56 | + "@types/chai": "^4.3.1", |
59 | 57 | "@types/lodash": "^4.14.170", |
| 58 | + "@types/mocha": "^9.1.1", |
60 | 59 | "@types/node": "^15.12.2", |
61 | 60 | "@types/request": "^2.48.5", |
| 61 | + "@types/sinon": "^10.0.12", |
62 | 62 | "@types/uuid": "^8.3.4", |
63 | 63 | "babel-plugin-replace-ts-export-assignment": "^0.0.2", |
64 | 64 | "chai": "^4.2.0", |
|
0 commit comments