|
12 | 12 | "dev": "yarn build && yarn nsolana",
|
13 | 13 | "build": "rollup -c",
|
14 | 14 | "watch": "rollup -c --watch",
|
| 15 | + "test": "pnpm test:unit", |
| 16 | + "test:unit": "jest -c ./jest-unit.config.ts --rootDir . --silent", |
| 17 | + "test:unit:watch": "jest -c ./jest-unit.config.ts --rootDir . --watch", |
15 | 18 | "solana": "node ./bin/index.mjs",
|
16 | 19 | "changeset:version": "changeset version && git add -A && git commit -m \"chore: version\"",
|
17 | 20 | "changeset:publish": "pnpm build && changeset publish",
|
18 |
| - "postpublish": "git push --follow-tags" |
| 21 | + "postpublish": "git push --follow-tags", |
| 22 | + "style:fix": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,css,json,md}'" |
19 | 23 | },
|
20 | 24 | "bin": {
|
21 | 25 | "nsolana": "bin/index.mjs",
|
|
43 | 47 | },
|
44 | 48 | "devDependencies": {
|
45 | 49 | "@changesets/cli": "^2.27.9",
|
| 50 | + "@jest/types": "^29.6.3", |
46 | 51 | "@rollup/plugin-commonjs": "^28.0.1",
|
47 | 52 | "@rollup/plugin-json": "^6.1.0",
|
48 | 53 | "@rollup/plugin-node-resolve": "^15.3.0",
|
49 | 54 | "@rollup/plugin-terser": "^0.4.4",
|
50 | 55 | "@rollup/plugin-typescript": "^12.1.1",
|
| 56 | + "@swc/core": "^1.9.3", |
| 57 | + "@swc/jest": "^0.2.37", |
51 | 58 | "@types/bn.js": "^5.1.6",
|
52 | 59 | "@types/inquirer": "^9.0.7",
|
| 60 | + "@types/jest": "^29.5.14", |
53 | 61 | "@types/node": "^22.7.6",
|
54 | 62 | "@types/prompts": "^2.4.9",
|
| 63 | + "jest": "^29.7.0", |
55 | 64 | "rollup": "^4.24.0",
|
| 65 | + "ts-jest": "^29.2.5", |
| 66 | + "ts-node": "^10.9.2", |
56 | 67 | "tslib": "^2.8.0",
|
57 | 68 | "typescript": "^5.6.3"
|
58 | 69 | },
|
| 70 | + "packageManager": "[email protected]", |
59 | 71 | "keywords": [],
|
60 | 72 | "homepage": "https://github.com/solana-developers/solana-node-cli#readme",
|
61 | 73 | "bugs": {
|
|
0 commit comments