mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Use eslint-config-ascribe-react
This commit is contained in:
parent
881584111b
commit
bafcfe83d9
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "ascribe",
|
"extends": "ascribe-react",
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": [1, { "allow": ["error", "logGlobal"] }]
|
"no-console": [1, { "allow": ["error", "logGlobal"] }]
|
||||||
}
|
}
|
||||||
|
15
package.json
15
package.json
@ -15,17 +15,14 @@
|
|||||||
"postinstall": "npm run build",
|
"postinstall": "npm run build",
|
||||||
"build": "rimraf ./dist && NODE_ENV=production webpack -p",
|
"build": "rimraf ./dist && NODE_ENV=production webpack -p",
|
||||||
"start": "NODE_ENV=production node server.js",
|
"start": "NODE_ENV=production node server.js",
|
||||||
|
|
||||||
"build:dev": "rimraf ./build && NODE_ENV=development webpack",
|
"build:dev": "rimraf ./build && NODE_ENV=development webpack",
|
||||||
"build:extract": "rimraf ./build && NODE_ENV=extract webpack",
|
"build:extract": "rimraf ./build && NODE_ENV=extract webpack",
|
||||||
"clean": "rimraf ./build ./dist",
|
"clean": "rimraf ./build ./dist",
|
||||||
"start:dev": "NODE_ENV=development node server.dev.js",
|
"start:dev": "NODE_ENV=development node server.dev.js",
|
||||||
"lint": "eslint ./",
|
"lint": "eslint ./",
|
||||||
"test": "npm run sauce-test",
|
"test": "npm run sauce-test",
|
||||||
|
|
||||||
"sauce-test": "mocha ./test/integration/tests/",
|
"sauce-test": "mocha ./test/integration/tests/",
|
||||||
"sauce-tunnel": "node ./test/integration/tunnel.js",
|
"sauce-tunnel": "node ./test/integration/tunnel.js",
|
||||||
|
|
||||||
"vi-clean": "rm -rf ./gemini-report",
|
"vi-clean": "rm -rf ./gemini-report",
|
||||||
"vi-phantom": "phantomjs --webdriver=4444",
|
"vi-phantom": "phantomjs --webdriver=4444",
|
||||||
"vi-update": "gemini update -c ./test/gemini/.gemini.yml",
|
"vi-update": "gemini update -c ./test/gemini/.gemini.yml",
|
||||||
@ -41,11 +38,17 @@
|
|||||||
"vi-test:23vivi": "npm run -s vi-test:base -- --browser 23viviDesktop --browser 23viviMobile"
|
"vi-test:23vivi": "npm run -s vi-test:base -- --browser 23viviDesktop --browser 23viviMobile"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"babel-eslint": "^6.0.4",
|
||||||
"babel-jest": "^5.2.0",
|
"babel-jest": "^5.2.0",
|
||||||
"chai": "^3.4.1",
|
"chai": "^3.4.1",
|
||||||
"chai-as-promised": "^5.1.0",
|
"chai-as-promised": "^5.1.0",
|
||||||
"colors": "^1.1.2",
|
"colors": "^1.1.2",
|
||||||
"dotenv": "^2.0.0",
|
"dotenv": "^2.0.0",
|
||||||
|
"eslint": "^2.12.0",
|
||||||
|
"eslint-config-ascribe-react": "^1.0.1",
|
||||||
|
"eslint-plugin-import": "^1.8.1",
|
||||||
|
"eslint-plugin-jsx-a11y": "^1.4.2",
|
||||||
|
"eslint-plugin-react": "^5.1.1",
|
||||||
"gemini": "^4.3.0",
|
"gemini": "^4.3.0",
|
||||||
"jest-cli": "^0.4.0",
|
"jest-cli": "^0.4.0",
|
||||||
"mocha": "^2.3.4",
|
"mocha": "^2.3.4",
|
||||||
@ -58,7 +61,6 @@
|
|||||||
"audiojs": "vrde/audiojs",
|
"audiojs": "vrde/audiojs",
|
||||||
"autoprefixer": "^6.3.6",
|
"autoprefixer": "^6.3.6",
|
||||||
"babel-cli": "^6.10.1",
|
"babel-cli": "^6.10.1",
|
||||||
"babel-eslint": "^6.0.4",
|
|
||||||
"babel-loader": "^6.2.4",
|
"babel-loader": "^6.2.4",
|
||||||
"babel-plugin-react-transform": "^2.0.2",
|
"babel-plugin-react-transform": "^2.0.2",
|
||||||
"babel-plugin-transform-object-assign": "^6.8.0",
|
"babel-plugin-transform-object-assign": "^6.8.0",
|
||||||
@ -79,11 +81,6 @@
|
|||||||
"css-loader": "^0.23.1",
|
"css-loader": "^0.23.1",
|
||||||
"decamelize": "^1.1.1",
|
"decamelize": "^1.1.1",
|
||||||
"dotenv": "^1.2.0",
|
"dotenv": "^1.2.0",
|
||||||
"eslint": "^2.12.0",
|
|
||||||
"eslint-config-ascribe": "^1.0.2",
|
|
||||||
"eslint-plugin-import": "^1.8.1",
|
|
||||||
"eslint-plugin-jsx-a11y": "^1.4.2",
|
|
||||||
"eslint-plugin-react": "^5.1.1",
|
|
||||||
"exports-loader": "^0.6.3",
|
"exports-loader": "^0.6.3",
|
||||||
"express": "^4.13.4",
|
"express": "^4.13.4",
|
||||||
"extract-text-webpack-plugin": "^1.0.1",
|
"extract-text-webpack-plugin": "^1.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user