chore: fix root package.json

This commit is contained in:
Saleel
2023-06-07 23:00:58 +05:30
parent 2c3907651d
commit 52f78099c8
4 changed files with 16 additions and 6 deletions

1
.gitignore vendored
View File

@@ -76,3 +76,4 @@ generate_input_log.txt
.vite
**/.vite
**/.yarn/*

12
package.json Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "double-blind",
"version": "0.1.0",
"private": true,
"scripts": {
"compile": "node circuits/scripts/compile.js",
"gen-input": "npx tsx ./twitter-verify/scripts/generate_input.ts",
"compile-all": "yarn gen-input && yarn compile email true",
"prepare": "husky install"
},
"packageManager": "yarn@3.2.3"
}

View File

@@ -63,15 +63,12 @@
"start": "vite",
"build": "tsc && vite build",
"serve": "vite preview",
"both-build": "react-scripts build && next build",
"next-build": "next build",
"test": "jest --runInBand --testPathIgnorePatterns='e2e' --reporters=default --reporters=jest-junit",
"test:browserstack": "browserstack-node-sdk jest src/ --runInBand --testPathIgnorePatterns='e2e|src/contracts/lib' --reporters=default --reporters=jest-junit",
"start-e2e-test-server": "serve -s build -p 3000",
"test:e2e-ui": "CI=true jest src/e2e-ui*.test.*",
"test:e2e-zkp": "CI=true jest src/e2e-dl-zkp.test.ts",
"test:e2e-ui": "CI=true jest ./e2e-ui*.test.*",
"test:e2e-zkp": "CI=true jest ./e2e-dl-zkp.test.ts",
"compile": "node circuits/scripts/compile.js",
"gen-input": "npx tsx src/scripts/generate_input.ts",
"gen-input": "npx tsx ./scripts/generate_input.ts",
"compile-all": "yarn gen-input && yarn compile email true",
"prepare": "husky install"
},