|
2 | 2 | "name": "@nymphjs/client",
|
3 | 3 | "version": "1.0.0-beta.81",
|
4 | 4 | "description": "Nymph.js - Client",
|
5 |
| - "browser": "dist/index.js", |
6 |
| - "main": "lib/index.js", |
7 |
| - "types": "lib/index.d.ts", |
| 5 | + "type": "module", |
| 6 | + "main": "dist/index.js", |
| 7 | + "types": "dist/index.d.ts", |
8 | 8 | "keywords": [
|
9 | 9 | "nymph",
|
10 | 10 | "ORM",
|
11 | 11 | "object relational mapper"
|
12 | 12 | ],
|
13 | 13 | "scripts": {
|
14 |
| - "clean": "npm run clean:ts && npm run clean:js", |
15 |
| - "clean:ts": "test -d lib && rm -r lib || true", |
16 |
| - "clean:js": "test -d dist && rm -r dist || true", |
17 |
| - "build": "npm run build:ts && npm run build:js", |
18 |
| - "build:ts": "tsc", |
19 |
| - "build:js": "webpack", |
20 |
| - "watch:ts": "tsc --watch", |
21 |
| - "watch:js": "webpack --watch", |
| 14 | + "clean": "test -d dist && rm -r dist || true", |
| 15 | + "build": "tsc", |
| 16 | + "watch": "tsc --watch", |
22 | 17 | "prepublish": "npm run clean && npm run build",
|
23 |
| - "test": "jest --detectOpenHandles", |
24 |
| - "test:watch": "jest --watch" |
| 18 | + "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest", |
| 19 | + "test:watch": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" npx jest --watch" |
25 | 20 | },
|
26 | 21 | "publishConfig": {
|
27 | 22 | "access": "public"
|
|
35 | 30 | "url": "https://github.com/sciactive/nymphjs/issues"
|
36 | 31 | },
|
37 | 32 | "license": "Apache-2.0",
|
38 |
| - "devDependencies": { |
39 |
| - "@tsconfig/recommended": "^1.0.3", |
40 |
| - "@types/jest": "^29.5.12", |
41 |
| - "@types/lodash": "^4.14.202", |
42 |
| - "jest": "^29.7.0", |
43 |
| - "ts-jest": "^29.1.2", |
44 |
| - "ts-loader": "^9.5.1", |
45 |
| - "typescript": "^5.3.3", |
46 |
| - "webpack": "^5.90.3", |
47 |
| - "webpack-cli": "^5.1.4" |
48 |
| - }, |
49 | 33 | "dependencies": {
|
50 | 34 | "fetch-event-source-hperrin": "^3.0.0",
|
51 |
| - "lodash": "^4.17.21" |
| 35 | + "lodash-es": "^4.17.21" |
| 36 | + }, |
| 37 | + "devDependencies": { |
| 38 | + "@tsconfig/recommended": "^1.0.8", |
| 39 | + "@types/jest": "^29.5.14", |
| 40 | + "@types/lodash-es": "^4.17.12", |
| 41 | + "jest": "^29.7.0", |
| 42 | + "ts-jest": "^29.2.5", |
| 43 | + "ts-node": "^10.9.2", |
| 44 | + "typescript": "^5.7.2" |
52 | 45 | }
|
53 | 46 | }
|
0 commit comments