Skip to content

Instantly share code, notes, and snippets.

@amankkg
Created December 13, 2016 15:45
Show Gist options
  • Save amankkg/0d1e2afc80dfbec87827584eabeb9fc0 to your computer and use it in GitHub Desktop.
Save amankkg/0d1e2afc80dfbec87827584eabeb9fc0 to your computer and use it in GitHub Desktop.
{
"scripts": {
"postinstall": "dotnet restore nscreg.Server nscreg.Server.Test",
"eslint": "eslint client client.test run.js webpack.config.js",
"stylelint": "stylelint \"client/components/**/*.pcss\" \"client/pages/**/*.pcss\"",
"lint": "run-p eslint stylelint",
"test": "",
"test:watch": "",
"clean": "node run clean",
"build": "node run build",
"build:debug": "node run build --debug",
"start": "node run"
},
"dependencies": {
// bla
},
"devDependencies": {
// bla
},
"babel": {
"plugins": [
"transform-class-properties",
"transform-object-rest-spread"
],
"presets": [
[
"latest",
{
"es2015": {
"modules": false
}
}
],
"react"
]
},
"postcss": {
"parser": "sugarss",
"plugins": {
"postcss-import": {},
"postcss-easy-import": {
"extensions": [
".pcss"
]
},
"precss": {},
"postcss-cssnext": {},
"postcss-flexibility": {},
"postcss-nested-props": {}
}
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"es6": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"babel",
"fetch",
"jsx-a11y",
"import",
"react"
],
"rules": {
"import/no-extraneous-dependencies": 0,
"linebreak-style": [
2,
"windows"
],
"no-confusing-arrow": 0,
"no-nested-ternary": 0,
"no-plusplus": 0,
"semi": [
2,
"never"
]
},
"settings": {
"import/resolver": "webpack"
}
},
"stylelint": {
"extends": [
"stylelint-config-css-modules",
"stylelint-config-standard"
],
"rules": {
"declaration-block-trailing-semicolon": null,
"string-quotes": "single"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment