|
@@ -54,14 +54,14 @@
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
"start": "npm run dev",
|
|
"start": "npm run dev",
|
|
- "test": "npm run test-lint && npm run test-unit",
|
|
|
|
|
|
+ "test": "npm run lint && npm run test-unit",
|
|
"build": "rollup -c utils/build/rollup.config.js",
|
|
"build": "rollup -c utils/build/rollup.config.js",
|
|
"build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
|
|
"build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
|
|
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
|
|
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
|
|
- "lint-fix": "eslint src --ext js --fix && eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
|
|
|
|
- "lint-docs": "eslint docs --ext html",
|
|
|
|
|
|
+ "lint": "eslint src --ext js",
|
|
"lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
|
|
"lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
|
|
- "test-lint": "eslint src --ext js",
|
|
|
|
|
|
+ "lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix",
|
|
|
|
+ "lint-docs": "eslint docs --ext html",
|
|
"test-unit": "npm run unit --prefix test",
|
|
"test-unit": "npm run unit --prefix test",
|
|
"test-unit-examples": "npm run unit-examples --prefix test",
|
|
"test-unit-examples": "npm run unit-examples --prefix test",
|
|
"test-e2e": "node test/e2e/puppeteer.js",
|
|
"test-e2e": "node test/e2e/puppeteer.js",
|