-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
18 lines (18 loc) · 887 Bytes
/
package.json
File metadata and controls
18 lines (18 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"private": true,
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"generate-interfaces": "node ./scripts/generate-host-contracts-interfaces.cjs && prettier --config ../../prettier.config.js --write \"src/fhevm/contracts/interfaces/**/*.ts\"",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc --project ./tsconfig.build.cjs.json && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.esm.json && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json",
"build:types": "tsc --project ./tsconfig.build.types.json",
"clean": "rm -rf *.tsbuildinfo src/*.tsbuildinfo src/_esm src/_cjs src/_types",
"lint": "npm run lint:ts",
"lint:ts": "eslint --ext .js,.ts .",
"test": "vitest run"
}
}