|
1 | 1 | { |
2 | 2 | "name": "testing-suite", |
3 | | - "version": "0.12.0", |
| 3 | + "version": "0.12.1", |
4 | 4 | "description": "Example project to develop and test CashScript contracts", |
5 | 5 | "main": "index.js", |
6 | 6 | "type": "module", |
|
13 | 13 | }, |
14 | 14 | "scripts": { |
15 | 15 | "build": "yarn clean && yarn compile", |
16 | | - "build:test": "yarn clean:test && yarn compile:test", |
17 | 16 | "clean": "rm -rf ./dist", |
18 | | - "clean:test": "rm -rf ./dist-test", |
19 | | - "compile": "tsc -p tsconfig.json && tsx tasks/index.ts compile", |
20 | | - "compile:test": "tsc -p tsconfig.test.json && tsx tasks/index.ts compile", |
| 17 | + "compile": "tsc -p tsconfig.json && yarn run task:compile", |
21 | 18 | "lint": "eslint . --ext .ts --ignore-path ../../.eslintignore", |
22 | 19 | "prepare": "yarn build", |
23 | 20 | "prepublishOnly": "yarn test && yarn lint", |
24 | | - "pretest": "yarn build:test", |
25 | | - "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest" |
| 21 | + "task:compile": "tsx tasks/index.ts compile", |
| 22 | + "pretest": "yarn run task:compile", |
| 23 | + "test": "vitest run" |
26 | 24 | }, |
27 | 25 | "dependencies": { |
28 | 26 | "@bitauth/libauth": "^3.1.0-next.8", |
29 | | - "cashc": "^0.12.0", |
30 | | - "cashscript": "^0.12.0", |
| 27 | + "cashc": "^0.12.1", |
| 28 | + "cashscript": "^0.12.1", |
31 | 29 | "url-join": "^5.0.0" |
32 | 30 | }, |
33 | 31 | "devDependencies": { |
34 | | - "@jest/globals": "^29.7.0", |
35 | | - "@types/jest": "^29.5.14", |
36 | | - "jest": "^29.7.0", |
37 | 32 | "tsx": "^4.20.3", |
38 | | - "typescript": "^5.9.2" |
| 33 | + "typescript": "^5.9.2", |
| 34 | + "vitest": "^4.0.15" |
39 | 35 | } |
40 | 36 | } |
0 commit comments