{ "name": "permissioning-smart-contracts", "version": "0.1.0", "repository": "permissioning-smart-contracts", "license": "Apache-2.0", "private": true, "scripts": { "lint:contracts": "yarn solium -d contracts", "lint:app": "yarn prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css}\"", "lint:app:write": "yarn prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css}\"", "lint": "yarn run lint:contracts && yarn run lint:app", "test:app": "yarn react-scripts test --env=jsdom --watchAll=false", "test:app:watch": "yarn react-scripts test --env=jsdom", "test:app:ci": "yarn react-scripts test --reporters=default --reporters=jest-junit", "test:contracts": "yarn truffle test --network develop", "test": "yarn run test:contracts && yarn run test:app", "coverage:contracts": "yarn solidity-coverage", "coverage": "yarn run coverage:contracts", "build:app": "yarn react-scripts build", "build:contracts": "yarn truffle compile && yarn typechain --target ethers --outDir ./src/chain/@types 'src/chain/abis/*.json'", "build": "yarn run build:contracts && yarn run build:app", "start": "yarn react-scripts start", "eject": "yarn react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "plugin:prettier/recommended" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "dependencies": { "@types/classnames": "^2.2.8", "@types/enzyme": "^3.9.3", "@types/enzyme-adapter-react-16": "^1.0.5", "@types/jest": "^24.0.13", "@types/node": "^12.0.4", "@types/react": "^16.8.19", "@types/react-dom": "^16.8.4", "@types/styled-components": "^4.1.15", "classnames": "^2.2.6", "dotenv": "^7.0.0", "ethers": "^4.0.32", "idx": "^2.5.6", "jest-junit": "^6.4.0", "node-sass": "^4.12.0", "react": "^16.8.6", "react-dom": "^16.8.6", "react-router-dom": "^5.0.0", "react-scripts": "3.0.1", "rimble-ui": "^0.8.0", "solidity-linked-list": "^2.0.2", "styled-components": "^4.2.0", "truffle-hdwallet-provider": "^1.0.6", "typescript": "^3.5.1", "web3-utils": "^1.0.0-beta.52" }, "devDependencies": { "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.13.1", "enzyme-to-json": "^3.3.5", "eslint-config-prettier": "^6.0.0", "eslint-plugin-prettier": "^3.1.0", "husky": "^2.2.0", "istanbul": "^0.4.5", "lint-staged": "^8.1.6", "mocha-junit-reporter": "^1.21.0", "mocha-multi-reporters": "^1.1.7", "prettier": "1.18.2", "solidity-coverage": "github:sc-forks/solidity-coverage#leapdao", "solium": "^1.2.4", "truffle": "5.0.17", "truffle-typings": "^1.0.8", "ts-jest": "^24.0.2", "typechain": "^0.3.17" }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx,json,css}": [ "prettier --write", "git add" ] }, "prettier": { "useTabs": false, "tabWidth": 2, "singleQuote": true, "printWidth": 120 }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "jest": { "collectCoverageFrom": [ "src/**/*.{js,jsx,ts,tsx}", "!**/src/index.tsx", "!**/src/serviceWorker.ts" ] } }