lint js files, cleanup scripts (#1713)

This commit is contained in:
Kiwi
2018-06-29 15:25:40 +00:00
committed by Wyatt Johnson
parent 65c8da0f34
commit 986716b3c3
17 changed files with 191 additions and 111 deletions
+3 -2
View File
@@ -16,10 +16,11 @@
"compile:css-types": "tcm src/core/client/",
"compile:relay-stream": "relay-compiler --src ./src/core/client/stream --schema ./src/core/server/graph/tenant/schema/schema.graphql --language typescript --artifactDirectory ./src/core/client/stream/__generated__ --no-watchman",
"start:development": "NODE_ENV=development ts-node -r tsconfig-paths/register src/index.ts",
"lint-fix": "tslint --fix --project ./tsconfig.json && tslint --fix --project ./src/core/client/tsconfig.json",
"lint-fix": "npm run lint:server -- --fix && npm run lint:client -- --fix && npm run lint:scripts -- --fix",
"lint": "npm-run-all --parallel lint:*",
"lint:server": "tslint --project ./tsconfig.json",
"lint:client": "tslint --project ./src/core/client/tsconfig.json",
"lint:scripts": "tslint config/**/*.js scripts/**/*.js",
"docz:watch": "docz dev"
},
"author": "",
@@ -137,4 +138,4 @@
"webpack-hot-client": "^4.0.3",
"webpack-manifest-plugin": "^2.0.3"
}
}
}