136 lines
4.2 KiB
JSON
136 lines
4.2 KiB
JSON
{
|
|
"name": "discover-dapps",
|
|
"homepage": "https://dap.ps/",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"fullbuild:clean": "rm -rf ./full-build",
|
|
"fullbuild:init": "[ -d full-build ] || mkdir -p full-build",
|
|
"fullbuild:misc": "cp .npmrc full-build/",
|
|
"fullbuild:backend": "cp -r Backend/* full-build/",
|
|
"fullbuild:webapp": "mkdir full-build/frontend && cp -r WebApp/build/* full-build/frontend/",
|
|
"fullbuild:archive": "cd full-build/ && bestzip ../app.zip * && cd ..",
|
|
|
|
"create:fullbuild": "yarn build && yarn fullbuild:clean && yarn fullbuild:init && yarn fullbuild:misc && yarn fullbuild:backend && yarn fullbuild:webapp && yarn fullbuild:archive",
|
|
"create:fullbuild:testnet": "yarn build:testnet && yarn fullbuild:clean && yarn fullbuild:init && yarn fullbuild:misc && yarn fullbuild:backend && yarn fullbuild:webapp && yarn fullbuild:archive",
|
|
|
|
"build-internal": "yarn wsrun --serial --exclude-missing -c build",
|
|
"build": "dotenv yarn build-internal",
|
|
|
|
"build-internal:testnet": "yarn wsrun --serial --exclude-missing -c build:testnet",
|
|
"build:testnet": "dotenv yarn build-internal:testnet",
|
|
|
|
"build:local": "dotenv yarn build",
|
|
"build:webapp-internal": "yarn wsrun -p webapp -c build",
|
|
"build:webapp": "dotenv yarn build:webapp-internal",
|
|
|
|
"start:dev-internal": "yarn wsrun --parallel --exclude-missing start:dev",
|
|
"start:dev": "dotenv yarn start:dev-internal",
|
|
|
|
"start:testnet-internal": "yarn wsrun --parallel --exclude-missing start:testnet",
|
|
"start:testnet": "dotenv yarn start:testnet-internal",
|
|
|
|
"start:prod-internal": "yarn wsrun --parallel --exclude-missing start:prod",
|
|
"start:prod": "dotenv yarn start:prod-internal",
|
|
|
|
"prettify": "prettier --write './**/**'",
|
|
"lint": "eslint --ext .jsx,.ts,.tsx .",
|
|
"lint:fix": "eslint --ext .jsx,.ts,.tsx . --fix ",
|
|
"lint:css": "stylelint './**/*.js'",
|
|
"lint:staged": "lint-staged",
|
|
"clean": "rm -rf ./node_modules && rm -rf ./*/node_modules",
|
|
|
|
"test:webapp": "cd Webapp && yarn test:watch"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"Backend",
|
|
"Contracts",
|
|
"WebApp"
|
|
],
|
|
"nohoist": [
|
|
"**/*"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@trailofbits/embark-contract-info": "^1.0.0",
|
|
"@types/jest": "^26.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^3.1.0",
|
|
"@typescript-eslint/parser": "^3.1.0",
|
|
"bestzip": "^2.1.5",
|
|
"chalk": "^2.0.1",
|
|
"dotenv": "^6.1.0",
|
|
"embark": "6.0.0",
|
|
"embark-basic-pipeline": "6.0.0",
|
|
"embark-geth": "6.0.0",
|
|
"embark-etherscan-verifier": "^4.0.0",
|
|
"embark-solc": "6.0.0",
|
|
"embark-solium": "0.1.0",
|
|
"embarkjs": "6.0.0",
|
|
"embarkjs-ens": "6.0.0",
|
|
"embarkjs-ipfs": "6.0.0",
|
|
"embarkjs-swarm": "6.0.0",
|
|
"embarkjs-web3": "6.0.0",
|
|
"embarkjs-whisper": "6.0.0",
|
|
"eslint": "^7.2.0",
|
|
"eslint-config-airbnb": "^18.1.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-import-resolver-webpack": "0.11.1",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-react": "^7.20.0",
|
|
"eslint-plugin-react-hooks": "^4.0.4",
|
|
"eslint-plugin-redux-saga": "1.0.0",
|
|
"jest": "^24.5.0",
|
|
"jest-haste-map": "^24.5.0",
|
|
"jest-resolve": "^24.5.0",
|
|
"precommit": "^1.2.2",
|
|
"prettier": "^2.0.5",
|
|
"stylelint": "10.0.1",
|
|
"stylelint-config-recommended": "2.2.0",
|
|
"stylelint-config-styled-components": "0.1.1",
|
|
"stylelint-processor-styled-components": "1.6.0",
|
|
"typescript": "3.7.2",
|
|
"wsrun": "3.6.5"
|
|
},
|
|
"resolutions": {
|
|
"**/hoist-non-react-statics": "^3.0.1"
|
|
},
|
|
"keywords": [
|
|
"NodeJS",
|
|
"React",
|
|
"Redux",
|
|
"Monorepo",
|
|
"Ethers"
|
|
],
|
|
"engines": {
|
|
"node": ">=8.0",
|
|
"yarn": ">=1.9.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
|
"prettier --single-quote --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"dotenv-cli": "^3.1.0"
|
|
}
|
|
}
|