aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-28 09:58:53 +0800
committerFabio Berger <me@fabioberger.com>2017-11-28 09:58:53 +0800
commit88bd0f5328863141564faf2718118594732b66ca (patch)
tree61063de1167cd4dfc231647689eeb8c383dcd950
parent54ef916b93ba0939dcb8824149c9a9fb74df4f2e (diff)
downloaddexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.tar
dexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.tar.gz
dexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.tar.bz2
dexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.tar.lz
dexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.tar.xz
dexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.tar.zst
dexon-sol-tools-88bd0f5328863141564faf2718118594732b66ca.zip
Add lint command to website sub-package
-rw-r--r--packages/website/package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/package.json b/packages/website/package.json
index f91b579bd..034925fc7 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -5,6 +5,7 @@
"scripts": {
"build": "NODE_ENV=production webpack; exit 0;",
"clean": "shx rm -f public/bundle*",
+ "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
"dev": "webpack-dev-server --content-base public --https",
"update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ../contracts/build/contracts/$i.json ../website/contracts; done;",
"deploy_staging": "npm run build; aws s3 sync ./public/. s3://staging-0xproject --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers",