|
1 | 1 | { |
2 | 2 | "name": "xmlbuilder2", |
3 | | - "version": "3.1.1", |
| 3 | + "version": "4.0.0", |
4 | 4 | "keywords": [ |
5 | 5 | "xml", |
6 | 6 | "xmlbuilder" |
|
20 | 20 | "main": "./lib/index", |
21 | 21 | "browser": "./lib/xmlbuilder2.min.js", |
22 | 22 | "engines": { |
23 | | - "node": ">=12.0" |
| 23 | + "node": ">=20.0" |
24 | 24 | }, |
25 | 25 | "files": [ |
26 | 26 | "lib/**/*" |
27 | 27 | ], |
28 | 28 | "types": "./lib/index.d.ts", |
29 | 29 | "dependencies": { |
30 | | - "@oozcitak/dom": "1.15.10", |
31 | | - "@oozcitak/infra": "1.0.8", |
32 | | - "@oozcitak/util": "8.3.8", |
33 | | - "js-yaml": "3.14.1" |
| 30 | + "@oozcitak/dom": "^2.0.1", |
| 31 | + "@oozcitak/infra": "^2.0.1", |
| 32 | + "@oozcitak/util": "^9.0.2", |
| 33 | + "js-yaml": "^4.1.0" |
34 | 34 | }, |
35 | 35 | "devDependencies": { |
36 | | - "@babel/preset-env": "*", |
| 36 | + "@babel/preset-env": "^7.28.3", |
37 | 37 | "@babel/runtime-corejs3": "7.10.3", |
38 | | - "@types/benchmark": "*", |
39 | | - "@types/dedent": "*", |
40 | | - "@types/jest": "*", |
41 | | - "@types/js-yaml": "3.11.1", |
42 | | - "@types/node": "*", |
43 | | - "babel-loader": "*", |
44 | | - "benchmark": "*", |
45 | | - "chalk": "*", |
46 | | - "core-js": "3.6.5", |
47 | | - "dedent": "*", |
48 | | - "es6-proxy-polyfill": "*", |
49 | | - "glob": "*", |
50 | | - "harmony-reflect": "*", |
51 | | - "jest": "*", |
52 | | - "ts-jest": "*", |
53 | | - "ts-loader": "*", |
54 | | - "ts-node": "*", |
55 | | - "typescript": "*", |
56 | | - "webpack": "*", |
57 | | - "webpack-cli": "*", |
58 | | - "xmlbuilder": "*", |
59 | | - "xpath": "*" |
60 | | - }, |
61 | | - "jest": { |
62 | | - "transform": { |
63 | | - "^.+\\.tsx?$": "ts-jest" |
64 | | - }, |
65 | | - "testRegex": "/test/.*\\.test\\.tsx?$", |
66 | | - "testEnvironment": "node", |
67 | | - "collectCoverageFrom": [ |
68 | | - "src/**/*.{ts,tsx}" |
69 | | - ] |
| 38 | + "@types/dedent": "^0.7.2", |
| 39 | + "@types/js-yaml": "^4.0.9", |
| 40 | + "@types/node": "^24.7.0", |
| 41 | + "babel-loader": "^10.0.0", |
| 42 | + "core-js": "^3.45.1", |
| 43 | + "dedent": "^1.7.0", |
| 44 | + "es6-proxy-polyfill": "^2.1.1", |
| 45 | + "glob": "^11.0.3", |
| 46 | + "harmony-reflect": "^1.6.2", |
| 47 | + "ts-loader": "^9.5.4", |
| 48 | + "ts-node": "^10.9.2", |
| 49 | + "typescript": "^5.9.3", |
| 50 | + "webpack": "^5.102.0", |
| 51 | + "webpack-cli": "^6.0.1", |
| 52 | + "xmlbuilder": "^15.1.1", |
| 53 | + "xpath": "^0.0.34", |
| 54 | + "tsx": "^4.20.6" |
70 | 55 | }, |
71 | 56 | "scripts": { |
72 | | - "prepare": "tsc && webpack", |
73 | | - "pretest": "rm -rf ./lib && tsc --version && tsc && webpack", |
74 | | - "test": "jest --coverage", |
75 | | - "postpublish": "git push --all && git push --tags", |
76 | | - "servedocs": "(cd docs && bundle exec jekyll serve)" |
| 57 | + "test": "tsc && tsx --test --experimental-test-coverage test/**/*test.ts", |
| 58 | + "cover": "tsc && tsx --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=./coverage/lcov.info test/**/*test.ts", |
| 59 | + "publish-public": "tsc && npm run cover && npm publish --access public" |
77 | 60 | } |
78 | 61 | } |
0 commit comments