提交 c0286e72 编写于 作者: G Garrett Johnson

Add linting support for examples

上级 8516e9ea
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"", "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
"dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"", "dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"",
"start": "npm run dev", "start": "npm run dev",
"lint": "eslint src --ext js --ext ts && tsc src/Three.d.ts --noEmit", "lint": "eslint src --ext js --ext ts && tsc src/Three.d.ts --noEmit && eslint examples/js --ext js --ext ts --ignore-pattern libs && tsc examples/js",
"test": "npm run build-test && qunit -r failonlyreporter test/unit/three.source.unit.js", "test": "npm run build-test && qunit -r failonlyreporter test/unit/three.source.unit.js",
"travis": "npm run lint && npm test" "travis": "npm run lint && npm test"
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册