131 lines
4.1 KiB
JSON
131 lines
4.1 KiB
JSON
{
|
|
"name": "grant",
|
|
"version": "1.0.1",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"analyze": "NODE_ENV=production ANALYZE=true next build ./client",
|
|
"build": "NODE_ENV=production next build ./client",
|
|
"dev": "rm -rf ./node_modules/.cache && cross-env BACKEND_URL=http://localhost:5000 node server.js",
|
|
"lint": "tslint --project ./tsconfig.json --config ./tslint.json -e \"**/build/**\"",
|
|
"start": "NODE_ENV=production node server.js",
|
|
"tsc": "tsc",
|
|
"link-contracts": "cd client/lib && ln -s ../../build/contracts contracts",
|
|
"ganache": "ganache-cli -b 5",
|
|
"truffle": "truffle exec ./bin/init-truffle.js && cd client/lib/contracts && truffle console"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn run lint && yarn run tsc"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"prettier --write --config ./.prettierrc --config-precedence file-override",
|
|
"git add"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@types/headroom": "^0.7.31",
|
|
"@types/js-cookie": "2.1.0",
|
|
"@types/jwt-decode": "^2.2.1",
|
|
"@types/lodash": "^4.14.112",
|
|
"@types/next": "^6.1.0",
|
|
"@types/next-redux-wrapper": "^1.4.1",
|
|
"@types/node": "^10.3.1",
|
|
"@types/nprogress": "0.0.29",
|
|
"@types/numeral": "^0.0.25",
|
|
"@types/react": "16.3.16",
|
|
"@types/react-document-title": "^2.0.2",
|
|
"@types/react-dom": "^16.0.6",
|
|
"@types/react-redux": "^6.0.2",
|
|
"@types/recompose": "^0.26.1",
|
|
"@zeit/next-css": "^0.2.0",
|
|
"@zeit/next-less": "^0.3.0",
|
|
"@zeit/next-sass": "^0.2.0",
|
|
"@zeit/next-typescript": "^1.1.0",
|
|
"ant-design-pro": "^2.0.0-beta.2",
|
|
"antd": "^3.7.1",
|
|
"axios": "^0.18.0",
|
|
"babel-plugin-import": "^1.8.0",
|
|
"babel-plugin-inline-dotenv": "^1.1.2",
|
|
"babel-plugin-module-resolver": "^3.1.1",
|
|
"babel-plugin-styled-components": "^1.5.1",
|
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
|
"babel-register": "^6.26.0",
|
|
"babel-runtime": "^6.26.0",
|
|
"bn.js": "4.11.8",
|
|
"cookie-parser": "^1.4.3",
|
|
"cross-env": "^5.2.0",
|
|
"dotenv": "6.0.0",
|
|
"drizzle": "^1.2.2",
|
|
"ethereum-blockies-base64": "1.0.2",
|
|
"ethereumjs-util": "5.2.0",
|
|
"express": "^4.16.3",
|
|
"file-loader": "^1.1.11",
|
|
"font-awesome": "^4.7.0",
|
|
"fork-ts-checker-webpack-plugin": "^0.4.2",
|
|
"fs-extra": "^7.0.0",
|
|
"http-proxy-middleware": "^0.18.0",
|
|
"husky": "^1.0.0-rc.8",
|
|
"is-mobile": "^1.0.0",
|
|
"isomorphic-unfetch": "^2.0.0",
|
|
"js-cookie": "^2.2.0",
|
|
"jwt-decode": "^2.2.0",
|
|
"less": "^3.7.1",
|
|
"lint-staged": "^7.1.3",
|
|
"lodash": "^4.17.10",
|
|
"moment": "^2.22.2",
|
|
"next": "^6.1.1",
|
|
"next-compose-plugins": "^2.1.1",
|
|
"next-images": "^0.10.5",
|
|
"next-redux-saga": "^3.0.0-beta.1",
|
|
"next-redux-wrapper": "^2.0.0-beta.6",
|
|
"next-routes": "^1.4.2",
|
|
"node-sass": "^4.9.2",
|
|
"nprogress": "^0.2.0",
|
|
"openzeppelin-solidity": "^1.12.0",
|
|
"prettier": "^1.13.4",
|
|
"prettier-package-json": "^1.6.0",
|
|
"rc-queue-anim": "^1.4.0",
|
|
"rc-scroll-anim": "^2.0.2",
|
|
"rc-tween-one": "^1.5.5",
|
|
"react": "^16.4.0",
|
|
"react-document-title": "^2.0.3",
|
|
"react-dom": "^16.4.0",
|
|
"react-headroom": "^2.2.2",
|
|
"react-mde": "^5.8.0",
|
|
"react-redux": "^5.0.7",
|
|
"recompose": "^0.27.1",
|
|
"redux": "^4.0.0",
|
|
"redux-devtools-extension": "^2.13.2",
|
|
"redux-logger": "^3.0.6",
|
|
"redux-promise-middleware": "^5.1.1",
|
|
"redux-saga": "^0.16.0",
|
|
"redux-thunk": "^2.3.0",
|
|
"showdown": "^1.8.6",
|
|
"slate": "^0.37.3",
|
|
"slate-react": "^0.15.4",
|
|
"styled-components": "^3.3.3",
|
|
"truffle-hdwallet-provider": "0.0.6",
|
|
"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",
|
|
"typescript": "3.0.3",
|
|
"url-loader": "^1.0.1",
|
|
"web3": "^1.0.0-beta.34",
|
|
"webpack-bundle-analyzer": "^2.13.1",
|
|
"xss": "1.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bn.js": "4.11.1",
|
|
"@types/ethereumjs-util": "5.2.0",
|
|
"@types/showdown": "1.7.5",
|
|
"@types/web3": "1.0.3",
|
|
"rimraf": "2.6.2"
|
|
}
|
|
}
|