Files
evm/contracts/package.json
zeekayandHanzo Dev 23cc6723bd Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so hardhat,
ts-node and next cannot read it. Both projects take it aliased as tsgo for the
typechecking and keep typescript on the 6 line for the tools; next 16.0.1 in
particular does not recognize a bare 7 pin and runs an unsolicited
`pnpm add -D typescript` mid-build.

contracts/ reports 0 diagnostics under both compilers with strict spelled out —
TS7 turns it on by default and this config never opted in. docs/ reports the same 5
under both, once the side-effect CSS import gets the ambient declaration TS7 now
demands. Neither project had a typecheck script.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 22:43:54 -07:00

46 lines
1.4 KiB
JSON

{
"name": "@luxfi/evm-contracts",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.6",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^9.1.1",
"@types/node": "^20.12.12",
"chai": "^4.4.1",
"ds-test": "https://github.com/dapphub/ds-test.git",
"hardhat": "^2.22.4",
"prettier": "^3.2.4",
"prettier-plugin-solidity": "^1.3.1",
"ts-node": "^10.9.2",
"tsgo": "npm:[email protected]",
"typescript": "6.0.3"
},
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/luxfi/evm.git",
"directory": "contracts"
},
"license": "BSD-3-Clause",
"scripts": {
"build": "rm -rf dist/ && npx hardhat compile && npx tsc -b ",
"compile": "npx hardhat compile",
"console": "npx hardhat console",
"test": "npx hardhat test",
"lint": "prettier --list-different 'contracts/**/*.sol'",
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false -p tsconfig.json",
"prepublish": "npm run build",
"release:prepare": "rm -rf ./node_modules && npm install && npm run build"
},
"dependencies": {
"@openzeppelin/contracts": "^4.9.6"
},
"engines": {
"npm": ">7.0.0",
"node": ">=20.13.0"
}
}