Skip to content

Instantly share code, notes, and snippets.

@listenlight
Created October 14, 2018 09:20
Show Gist options
  • Save listenlight/8f69a891c63a60f3a236c24ec48e6c8a to your computer and use it in GitHub Desktop.
Save listenlight/8f69a891c63a60f3a236c24ec48e6c8a to your computer and use it in GitHub Desktop.
{
"name": "StackPac",
"version": "0.1.0",
"license": "MIT",
"private": true,
"main": "src/index.js",
"repository": {
"type": "git",
"url": "gitlab.com:stack.pac/stackpac.git"
},
"scripts": {
"start": "webpack-dev-server --mode development --port 3000",
"build": "webpack --mode production",
"server": "node server.js",
"lines": "npx sloc --format cli-table --format-option head --keys total,source,comment,todo --exclude 'node_modules|build|svg$|xml$' ./"
},
"dependencies": {
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-router-dom": "^4.3.1",
"truffle-contract": "^4.0.0-next.0",
"web3": "^1.0.0-beta.36"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.4",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^1.0.0",
"eslint": "^5.6.1",
"eslint-plugin-react": "^7.11.1",
"express": "^4.16.3",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^4.0.0-beta.1",
"node-sass": "^4.9.3",
"openzeppelin-solidity": "^1.12.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.4.0",
"webpack-dev-server": "^3.1.9"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"quotes": [
1,
"single",
"avoid-escape"
],
"prefer-const": 1,
"react/jsx-indent": [
1,
2
],
"no-return-assign": 1,
"no-console": 0,
"no-unused-vars": [
1,
{
"vars": "all",
"args": "after-used",
"argsIgnorePattern": "^_|^next$",
"varsIgnorePattern": "^_|^log$|^err|^info$|^warn$"
}
],
"react/prop-types": 0
}
},
"eslintIgnore": [
"migrations/*.js"
],
"optionalDependencies": {
"object-inspect": "^1.6.0",
"react-hot-loader": "^4.3.11",
"sloc": "^0.2.0",
"webpack-bundle-analyzer": "^3.0.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment