You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.9 KiB
102 lines
2.9 KiB
{
|
|
"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": "yarn run lint:contracts",
|
|
"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 truffle --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"
|
|
},
|
|
"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/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",
|
|
"drizzle": "^1.4.0",
|
|
"drizzle-react": "^1.3.0",
|
|
"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",
|
|
"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.17.0",
|
|
"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,json,css}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"useTabs": false,
|
|
"tabWidth": 4
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx}",
|
|
"!**/src/index.js",
|
|
"!**/src/serviceWorker.js"
|
|
]
|
|
}
|
|
}
|
|
|