|
| 1 | +{ |
| 2 | + "name": "private-token", |
| 3 | + "private": true, |
| 4 | + "version": "0.1.0", |
| 5 | + "type": "module", |
| 6 | + "main": "./dest/index.js", |
| 7 | + "scripts": { |
| 8 | + "build": "yarn clean && webpack", |
| 9 | + "install:noir": "curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash noirup -v aztec", |
| 10 | + "install:sandbox": "docker pull aztecprotocol/aztec-sandbox:latest", |
| 11 | + "clean": "rm -rf ./dest .tsbuildinfo", |
| 12 | + "start": "serve -p 3000 ./dest", |
| 13 | + "start:dev": "webpack serve --mode=development", |
| 14 | + "start:sandbox": "SANDBOX_VERSION=latest /bin/bash -c \"$(curl -fsSL 'https://sandbox.aztec.network')\" ", |
| 15 | + "formatting": "prettier --check ./src && eslint ./src", |
| 16 | + "formatting:fix": "prettier -w ./src", |
| 17 | + "compile": "aztec-cli compile src/contracts --outdir ../artifacts --typescript ../artifacts", |
| 18 | + "test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --runInBand", |
| 19 | + "test:integration": "concurrently -k -s first -c reset,dim -n test,anvil \"yarn test\" \"anvil\"" |
| 20 | + }, |
| 21 | + "jest": { |
| 22 | + "preset": "ts-jest/presets/default-esm", |
| 23 | + "globals": { |
| 24 | + "ts-jest": { |
| 25 | + "useESM": true |
| 26 | + } |
| 27 | + }, |
| 28 | + "transform": { |
| 29 | + "^.+\\.(ts|tsx)$": "ts-jest" |
| 30 | + }, |
| 31 | + "moduleNameMapper": { |
| 32 | + "^(\\.{1,2}/.*)\\.js$": "$1" |
| 33 | + }, |
| 34 | + "testRegex": "./src/.*\\.test\\.ts$", |
| 35 | + "rootDir": "./src" |
| 36 | + }, |
| 37 | + "dependencies": { |
| 38 | + "@aztec/aztec.js": "workspace:^", |
| 39 | + "@aztec/circuits.js": "workspace:^", |
| 40 | + "@aztec/cli": "workspace:^", |
| 41 | + "@aztec/foundation": "workspace:^", |
| 42 | + "formik": "^2.4.3", |
| 43 | + "react": "^18.2.0", |
| 44 | + "react-dom": "^18.2.0", |
| 45 | + "serve": "^14.2.1", |
| 46 | + "tailwindcss": "^3.3.3", |
| 47 | + "yup": "^1.2.0" |
| 48 | + }, |
| 49 | + "devDependencies": { |
| 50 | + "@types/node": "^20.5.9", |
| 51 | + "@types/react": "^18.2.15", |
| 52 | + "@types/react-dom": "^18.2.7", |
| 53 | + "@typescript-eslint/eslint-plugin": "^6.0.0", |
| 54 | + "@typescript-eslint/parser": "^6.0.0", |
| 55 | + "autoprefixer": "^10.4.15", |
| 56 | + "copy-webpack-plugin": "^11.0.0", |
| 57 | + "css-loader": "^6.8.1", |
| 58 | + "eslint": "^8.45.0", |
| 59 | + "eslint-import-resolver-typescript": "^3.5.5", |
| 60 | + "eslint-plugin-import": "^2.27.5", |
| 61 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 62 | + "eslint-plugin-react-refresh": "^0.4.3", |
| 63 | + "jest": "^29.6.4", |
| 64 | + "postcss": "^8.4.29", |
| 65 | + "postcss-loader": "^7.3.3", |
| 66 | + "prettier": "^3.0.3", |
| 67 | + "resolve-typescript-plugin": "^2.0.1", |
| 68 | + "style-loader": "^3.3.3", |
| 69 | + "ts-jest": "^29.1.0", |
| 70 | + "ts-loader": "^9.4.4", |
| 71 | + "ts-node": "^10.9.1", |
| 72 | + "typescript": "^5.0.4", |
| 73 | + "util": "^0.12.5", |
| 74 | + "webpack": "^5.88.2", |
| 75 | + "webpack-cli": "^5.1.4", |
| 76 | + "webpack-dev-server": "^4.15.1" |
| 77 | + }, |
| 78 | + "browserslist": { |
| 79 | + "production": [ |
| 80 | + ">0.5%", |
| 81 | + "not dead", |
| 82 | + "not op_mini all" |
| 83 | + ], |
| 84 | + "development": [ |
| 85 | + "last 1 chrome version", |
| 86 | + "last 1 firefox version", |
| 87 | + "last 1 safari version" |
| 88 | + ] |
| 89 | + }, |
| 90 | + "files": [ |
| 91 | + "dest", |
| 92 | + "src", |
| 93 | + "!*.test.*" |
| 94 | + ], |
| 95 | + "types": "./dest/index.d.ts" |
| 96 | +} |
0 commit comments