2018-09-10 09:55:26 -07:00
|
|
|
{
|
|
|
|
"name": "grant",
|
|
|
|
"version": "1.0.1",
|
|
|
|
"main": "index.js",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
|
|
|
"analyze": "NODE_ENV=production ANALYZE=true next build ./client",
|
2018-09-17 13:55:49 -07:00
|
|
|
"build": "cross-env NODE_ENV=production node bin/build.js",
|
|
|
|
"dev": "rm -rf ./node_modules/.cache && cross-env NODE_ENV=development BACKEND_URL=http://localhost:5000 node bin/dev.js",
|
2018-09-10 09:55:26 -07:00
|
|
|
"lint": "tslint --project ./tsconfig.json --config ./tslint.json -e \"**/build/**\"",
|
2018-09-19 18:45:51 -07:00
|
|
|
"start": "NODE_ENV=production node ./build/server/server.js",
|
2018-11-13 10:01:51 -08:00
|
|
|
"now": "npm run build && now -e BACKEND_URL=https://grant-stage.herokuapp.com",
|
2018-09-10 09:55:26 -07:00
|
|
|
"tsc": "tsc",
|
|
|
|
"link-contracts": "cd client/lib && ln -s ../../build/contracts contracts",
|
|
|
|
"ganache": "ganache-cli -b 5",
|
2018-09-25 12:02:29 -07:00
|
|
|
"truffle": "truffle exec ./bin/init-truffle.js && cd client/lib/contracts && truffle console",
|
|
|
|
"storybook": "start-storybook -p 9001 -c .storybook"
|
2018-09-10 09:55:26 -07:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2018-09-11 09:16:57 -07:00
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"pre-push": "yarn run lint && yarn run tsc"
|
2018-09-10 09:55:26 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx}": [
|
|
|
|
"prettier --write --config ./.prettierrc --config-precedence file-override",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-09-17 13:55:49 -07:00
|
|
|
"@babel/core": "^7.0.1",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
|
|
|
|
"@babel/polyfill": "^7.0.0",
|
|
|
|
"@babel/preset-env": "^7.0.0",
|
|
|
|
"@babel/preset-react": "^7.0.0",
|
|
|
|
"@babel/preset-typescript": "^7.0.0",
|
|
|
|
"@babel/register": "^7.0.0",
|
2018-10-08 18:06:41 -07:00
|
|
|
"@ledgerhq/hw-app-eth": "4.23.0",
|
|
|
|
"@ledgerhq/hw-transport-u2f": "4.21.0",
|
2018-09-17 13:55:49 -07:00
|
|
|
"@svgr/webpack": "^2.4.0",
|
|
|
|
"@types/classnames": "^2.2.6",
|
|
|
|
"@types/cors": "^2.8.4",
|
|
|
|
"@types/dotenv": "^4.0.3",
|
|
|
|
"@types/express": "^4.16.0",
|
|
|
|
"@types/express-winston": "^3.0.0",
|
2018-11-04 10:26:34 -08:00
|
|
|
"@types/i18next-express-middleware": "^0.0.33",
|
|
|
|
"@types/i18next-node-fs-backend": "^0.0.30",
|
2018-09-10 09:55:26 -07:00
|
|
|
"@types/js-cookie": "2.1.0",
|
|
|
|
"@types/jwt-decode": "^2.2.1",
|
|
|
|
"@types/lodash": "^4.14.112",
|
|
|
|
"@types/node": "^10.3.1",
|
|
|
|
"@types/numeral": "^0.0.25",
|
2018-10-19 15:03:37 -07:00
|
|
|
"@types/react": "16.4.18",
|
|
|
|
"@types/react-dom": "16.0.9",
|
2018-09-17 13:55:49 -07:00
|
|
|
"@types/react-helmet": "^5.0.7",
|
2018-09-10 09:55:26 -07:00
|
|
|
"@types/react-redux": "^6.0.2",
|
2018-09-17 13:55:49 -07:00
|
|
|
"@types/react-router": "^4.0.31",
|
|
|
|
"@types/react-router-dom": "^4.3.1",
|
2018-09-10 09:55:26 -07:00
|
|
|
"@types/recompose": "^0.26.1",
|
2018-09-17 13:55:49 -07:00
|
|
|
"@types/redux-actions": "^2.3.0",
|
|
|
|
"@types/redux-logger": "^3.0.6",
|
2018-10-19 15:03:37 -07:00
|
|
|
"@types/webpack": "4.4.17",
|
2018-09-17 13:55:49 -07:00
|
|
|
"@types/webpack-env": "^1.13.6",
|
|
|
|
"@types/winston": "^2.4.4",
|
2018-09-25 13:14:51 -07:00
|
|
|
"ant-design-pro": "2.0.0",
|
|
|
|
"antd": "3.9.3",
|
2018-09-10 09:55:26 -07:00
|
|
|
"axios": "^0.18.0",
|
2018-09-25 12:02:29 -07:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
2018-09-17 13:55:49 -07:00
|
|
|
"babel-loader": "^8.0.2",
|
|
|
|
"babel-plugin-dynamic-import-node": "^2.1.0",
|
|
|
|
"babel-plugin-dynamic-import-webpack": "^1.0.2",
|
2018-09-10 09:55:26 -07:00
|
|
|
"babel-plugin-import": "^1.8.0",
|
|
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
|
|
|
"bn.js": "4.11.8",
|
2018-09-17 13:55:49 -07:00
|
|
|
"body-parser": "^1.18.3",
|
|
|
|
"chalk": "^2.4.1",
|
2018-09-19 07:49:45 -07:00
|
|
|
"classnames": "^2.2.6",
|
2018-09-10 09:55:26 -07:00
|
|
|
"cookie-parser": "^1.4.3",
|
2018-11-04 10:26:34 -08:00
|
|
|
"copy-webpack-plugin": "^4.6.0",
|
2018-09-18 09:12:59 -07:00
|
|
|
"core-js": "^2.5.7",
|
2018-09-17 13:55:49 -07:00
|
|
|
"cors": "^2.8.4",
|
2018-09-10 09:55:26 -07:00
|
|
|
"cross-env": "^5.2.0",
|
2018-09-17 13:55:49 -07:00
|
|
|
"css-loader": "^1.0.0",
|
|
|
|
"dotenv": "^6.0.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"ethereum-blockies-base64": "1.0.2",
|
2018-09-14 14:54:27 -07:00
|
|
|
"ethereumjs-util": "5.2.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"express": "^4.16.3",
|
2018-09-17 13:55:49 -07:00
|
|
|
"express-manifest-helpers": "^0.5.0",
|
|
|
|
"express-winston": "^3.0.0",
|
|
|
|
"file-loader": "^2.0.0",
|
|
|
|
"find-root": "^1.1.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"font-awesome": "^4.7.0",
|
|
|
|
"fork-ts-checker-webpack-plugin": "^0.4.2",
|
|
|
|
"fs-extra": "^7.0.0",
|
2018-10-08 18:06:41 -07:00
|
|
|
"global": "4.3.2",
|
|
|
|
"hdkey": "1.1.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"http-proxy-middleware": "^0.18.0",
|
2018-10-08 18:06:41 -07:00
|
|
|
"https-proxy": "0.0.2",
|
2018-09-10 09:55:26 -07:00
|
|
|
"husky": "^1.0.0-rc.8",
|
2018-11-04 10:26:34 -08:00
|
|
|
"i18next": "^12.0.0",
|
|
|
|
"i18next-express-middleware": "^1.4.1",
|
|
|
|
"i18next-node-fs-backend": "^2.1.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"js-cookie": "^2.2.0",
|
|
|
|
"less": "^3.7.1",
|
2018-09-17 13:55:49 -07:00
|
|
|
"less-loader": "^4.1.0",
|
|
|
|
"lint-staged": "^7.2.2",
|
|
|
|
"loadable-components": "^2.2.3",
|
2018-09-10 09:55:26 -07:00
|
|
|
"lodash": "^4.17.10",
|
2018-09-17 13:55:49 -07:00
|
|
|
"mini-css-extract-plugin": "^0.4.2",
|
2018-09-10 09:55:26 -07:00
|
|
|
"moment": "^2.22.2",
|
|
|
|
"node-sass": "^4.9.2",
|
2018-09-17 13:55:49 -07:00
|
|
|
"nodemon": "^1.18.4",
|
2018-09-10 09:55:26 -07:00
|
|
|
"prettier": "^1.13.4",
|
|
|
|
"prettier-package-json": "^1.6.0",
|
2018-09-20 11:58:47 -07:00
|
|
|
"query-string": "6.1.0",
|
2018-10-19 15:03:37 -07:00
|
|
|
"react": "16.5.2",
|
2018-09-17 13:55:49 -07:00
|
|
|
"react-dev-utils": "^5.0.2",
|
2018-10-19 15:03:37 -07:00
|
|
|
"react-dom": "16.5.2",
|
2018-09-17 13:55:49 -07:00
|
|
|
"react-helmet": "^5.2.0",
|
|
|
|
"react-hot-loader": "^4.3.8",
|
2018-11-04 10:26:34 -08:00
|
|
|
"react-i18next": "^8.3.5",
|
2018-09-10 09:55:26 -07:00
|
|
|
"react-mde": "^5.8.0",
|
|
|
|
"react-redux": "^5.0.7",
|
2018-09-17 13:55:49 -07:00
|
|
|
"react-router": "^4.3.1",
|
|
|
|
"react-router-dom": "^4.3.1",
|
2018-09-10 09:55:26 -07:00
|
|
|
"recompose": "^0.27.1",
|
|
|
|
"redux": "^4.0.0",
|
|
|
|
"redux-devtools-extension": "^2.13.2",
|
|
|
|
"redux-logger": "^3.0.6",
|
2018-10-03 12:08:14 -07:00
|
|
|
"redux-persist": "5.10.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"redux-promise-middleware": "^5.1.1",
|
|
|
|
"redux-saga": "^0.16.0",
|
|
|
|
"redux-thunk": "^2.3.0",
|
|
|
|
"showdown": "^1.8.6",
|
2018-09-17 13:55:49 -07:00
|
|
|
"stats-webpack-plugin": "^0.7.0",
|
|
|
|
"style-loader": "^0.23.0",
|
2018-10-08 18:06:41 -07:00
|
|
|
"trezor-connect": "5.0.33",
|
2018-09-17 13:55:49 -07:00
|
|
|
"ts-loader": "^5.1.1",
|
2018-09-10 09:55:26 -07:00
|
|
|
"tslint": "^5.10.0",
|
|
|
|
"tslint-config-airbnb": "^5.9.2",
|
|
|
|
"tslint-config-prettier": "^1.13.0",
|
|
|
|
"tslint-eslint-rules": "^5.3.1",
|
|
|
|
"tslint-react": "^3.6.0",
|
2018-09-13 13:34:36 -07:00
|
|
|
"typescript": "3.0.3",
|
2018-09-20 17:45:02 -07:00
|
|
|
"uglifyjs-webpack-plugin": "1.3.0",
|
2018-09-17 13:55:49 -07:00
|
|
|
"url-loader": "^1.1.1",
|
2018-09-10 09:55:26 -07:00
|
|
|
"web3": "^1.0.0-beta.34",
|
2018-09-17 13:55:49 -07:00
|
|
|
"webpack": "^4.19.0",
|
|
|
|
"webpack-bundle-analyzer": "^3.0.2",
|
|
|
|
"webpack-cli": "^3.1.0",
|
|
|
|
"webpack-dev-server": "^3.1.8",
|
|
|
|
"webpack-hot-middleware": "^2.24.0",
|
|
|
|
"webpack-manifest-plugin": "^2.0.4",
|
|
|
|
"webpack-node-externals": "^1.7.2",
|
|
|
|
"webpack-stats-plugin": "^0.2.1",
|
|
|
|
"winston": "^3.1.0",
|
|
|
|
"write-file-webpack-plugin": "^4.4.0",
|
2018-09-13 14:05:36 -07:00
|
|
|
"xss": "1.0.3"
|
2018-09-10 09:55:26 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-09-25 12:02:29 -07:00
|
|
|
"@storybook/react": "4.0.0-alpha.22",
|
2018-09-10 09:55:26 -07:00
|
|
|
"@types/bn.js": "4.11.1",
|
2018-09-14 14:54:27 -07:00
|
|
|
"@types/ethereumjs-util": "5.2.0",
|
2018-10-08 18:06:41 -07:00
|
|
|
"@types/hdkey": "0.7.0",
|
2018-09-20 11:58:47 -07:00
|
|
|
"@types/query-string": "6.1.0",
|
2018-09-10 09:55:26 -07:00
|
|
|
"@types/showdown": "1.7.5",
|
2018-09-25 12:02:29 -07:00
|
|
|
"@types/storybook__react": "^3.0.9",
|
2018-09-11 09:16:57 -07:00
|
|
|
"@types/web3": "1.0.3",
|
2018-10-30 10:58:05 -07:00
|
|
|
"rimraf": "2.6.2",
|
2018-10-31 14:05:35 -07:00
|
|
|
"string-hash": "1.1.3",
|
2018-10-30 10:58:05 -07:00
|
|
|
"webapp-webpack-plugin": "2.3.1"
|
2018-09-10 09:55:26 -07:00
|
|
|
}
|
|
|
|
}
|