|
1 | 1 | {
|
2 | 2 | "name": "@adminjs/typeorm",
|
| 3 | + "type": "module", |
| 4 | + "exports": { |
| 5 | + ".": { |
| 6 | + "import": "./lib/index.js", |
| 7 | + "types": "./lib/index.d.ts" |
| 8 | + } |
| 9 | + }, |
3 | 10 | "version": "4.0.0",
|
4 | 11 | "description": "TypeORM adapter for AdminJS",
|
5 | 12 | "keywords": [
|
|
10 | 17 | "typeorm admin",
|
11 | 18 | "admin panel"
|
12 | 19 | ],
|
13 |
| - "main": "lib/index.js", |
14 |
| - "types": "lib/index.d.ts", |
15 | 20 | "scripts": {
|
16 | 21 | "clean": "rm -fR lib",
|
17 | 22 | "build": "tsc",
|
18 | 23 | "dev": "yarn clean && tsc -w",
|
19 |
| - "test": "mocha -r ts-node/register ./spec/**/*.spec.ts", |
| 24 | + "test": "mocha --loader=ts-node/esm ./spec/**/*.spec.ts", |
20 | 25 | "ts-node": "ts-node",
|
21 |
| - "lint": "eslint './src/**/*.{ts,js}' './spec/**/*.{ts,js}' './example-app/**/*.{ts,js}' --ignore-pattern 'build' --ignore-pattern 'yarn.lock'", |
22 |
| - "migrate": "ts-node ./node_modules/typeorm/cli.js migration:run -d spec/utils/test-data-source.ts", |
| 26 | + "lint": "eslint './src/**/*.{ts,js}' --ignore-pattern 'build' --ignore-pattern 'yarn.lock'", |
23 | 27 | "check:all": "yarn lint && yarn test && yarn build",
|
24 |
| - "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js", |
| 28 | + "typeorm": "typeorm-ts-node-esm -d \"./spec/utils/test-data-source.ts\"", |
| 29 | + "migrate": "yarn typeorm migration:run", |
25 | 30 | "release": "semantic-release"
|
26 | 31 | },
|
27 | 32 | "repository": {
|
|
36 | 41 | "author": "Artem Zabolotnyi <[email protected]>",
|
37 | 42 | "license": "MIT",
|
38 | 43 | "peerDependencies": {
|
39 |
| - "adminjs": ">=6.0.0", |
| 44 | + "adminjs": "^7.0.0", |
40 | 45 | "typeorm": "~0.3.0"
|
41 | 46 | },
|
42 | 47 | "optionalDependencies": {},
|
43 | 48 | "devDependencies": {
|
44 |
| - "@commitlint/cli": "^8.3.5", |
45 |
| - "@commitlint/config-conventional": "^8.3.4", |
46 |
| - "@semantic-release/git": "^9.0.0", |
47 |
| - "@types/chai": "^4.2.4", |
48 |
| - "@types/mocha": "^5.2.7", |
49 |
| - "@types/node": "12.0.10", |
50 |
| - "@typescript-eslint/eslint-plugin": "^3.7.0", |
51 |
| - "@typescript-eslint/parser": "^3.7.0", |
52 |
| - "adminjs": "^6.0.0", |
53 |
| - "chai": "^4.2.0", |
54 |
| - "class-validator": "^0.11.0", |
55 |
| - "eslint": "^7.5.0", |
56 |
| - "eslint-config-airbnb": "^18.2.0", |
57 |
| - "eslint-plugin-import": "^2.22.0", |
58 |
| - "eslint-plugin-jsx-a11y": "^6.3.1", |
59 |
| - "eslint-plugin-react": "^7.20.3", |
60 |
| - "eslint-plugin-react-hooks": "^4.0.8", |
| 49 | + "@commitlint/cli": "^17.4.4", |
| 50 | + "@commitlint/config-conventional": "^17.4.4", |
| 51 | + "@semantic-release/git": "^10.0.1", |
| 52 | + "@types/chai": "^4.3.4", |
| 53 | + "@types/mocha": "^10.0.1", |
| 54 | + "@types/node": "^18.15.3", |
| 55 | + "@typescript-eslint/eslint-plugin": "^5.55.0", |
| 56 | + "@typescript-eslint/parser": "^5.55.0", |
| 57 | + "adminjs": "^7.0.0", |
| 58 | + "chai": "^4.3.7", |
| 59 | + "class-validator": "^0.14.0", |
| 60 | + "eslint": "^8.36.0", |
| 61 | + "eslint-config-airbnb": "^19.0.4", |
| 62 | + "eslint-plugin-import": "^2.27.5", |
| 63 | + "eslint-plugin-jsx-a11y": "^6.7.1", |
| 64 | + "eslint-plugin-react": "^7.32.2", |
| 65 | + "eslint-plugin-react-hooks": "^4.6.0", |
61 | 66 | "husky": "^4.2.5",
|
62 |
| - "mocha": "^6.2.2", |
63 |
| - "pg": "^8.7.3", |
64 |
| - "semantic-release": "^17.0.7", |
65 |
| - "semantic-release-slack-bot": "^1.6.2", |
66 |
| - "ts-node": "^10.7.0", |
67 |
| - "tsconfig-paths": "^3.14.1", |
68 |
| - "typeorm": "~0.3.0", |
69 |
| - "typescript": "^4.6.3" |
| 67 | + "mocha": "^10.2.0", |
| 68 | + "pg": "^8.10.0", |
| 69 | + "semantic-release": "^20.1.3", |
| 70 | + "semantic-release-slack-bot": "^4.0.0", |
| 71 | + "ts-node": "^10.9.1", |
| 72 | + "tsconfig-paths": "^4.1.2", |
| 73 | + "typeorm": "^0.3.12", |
| 74 | + "typescript": "^4.9.5" |
70 | 75 | }
|
71 | 76 | }
|
0 commit comments