|
5 | 5 | "license": "Apache-2.0",
|
6 | 6 | "author": "SMSAPI <info@smsapi.pl>",
|
7 | 7 | "main": "dist/index.js",
|
8 |
| - "module": "dist/smsapi.esm.js", |
9 | 8 | "typings": "dist/index.d.ts",
|
10 | 9 | "files": [
|
11 | 10 | "dist"
|
12 | 11 | ],
|
13 | 12 | "scripts": {
|
14 |
| - "build": "cross-env NODE_ENV=production tsdx build", |
| 13 | + "build": "rimraf dist && tsup src/index.ts --dts --minify", |
15 | 14 | "lint": "eslint .",
|
16 |
| - "start": "tsdx watch", |
17 |
| - "test": "tsdx test --runInBand", |
18 |
| - "test:watch": "tsdx test --watchAll", |
19 |
| - "prepare": "husky install && yarn build", |
| 15 | + "test": "jest", |
| 16 | + "test:watch": "jest --watchAll", |
| 17 | + "prepare": "husky install", |
20 | 18 | "prepublishOnly": "yarn lint && yarn test"
|
21 | 19 | },
|
22 | 20 | "dependencies": {
|
|
25 | 23 | "lodash": "^4.17.21"
|
26 | 24 | },
|
27 | 25 | "devDependencies": {
|
| 26 | + "@babel/preset-env": "^7.22.9", |
| 27 | + "@babel/preset-typescript": "^7.22.5", |
28 | 28 | "@types/lodash": "^4.14.195",
|
29 | 29 | "@types/uuid": "^9.0.2",
|
30 | 30 | "@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
39 | 39 | "eslint-plugin-promise": "^6.1.1",
|
40 | 40 | "eslint-plugin-standard": "^5.0.0",
|
41 | 41 | "husky": "^8.0.3",
|
| 42 | + "jest": "^29.6.1", |
42 | 43 | "nock": "^13.3.1",
|
43 | 44 | "prettier": "^3.0.0",
|
44 | 45 | "rimraf": "^5.0.1",
|
45 |
| - "tsdx": "^0.13.3", |
46 | 46 | "tslib": "^2.6.0",
|
47 |
| - "typescript": "^4.9.5", |
| 47 | + "tsup": "^7.1.0", |
| 48 | + "typescript": "^5.1.6", |
48 | 49 | "uuid": "^9.0.0"
|
49 | 50 | },
|
50 | 51 | "engines": {
|
|
0 commit comments