Skip to content

Commit

Permalink
Build Script for Index of Examples: Revise coding approach (pull #1078)
Browse files Browse the repository at this point in the history
* chore: Add ESLint for reference-table
* chore: Minor whitespace in reference-tables.template
* chore: Initial node-ify for reference-tables.js
* chore: Variable naming and whitespace
* chore: Use glob for file matching
* chore: Use Object.getOwnPropertyNames for array sort
* chore: Update output variable name
* chore: Use cheerio for HTML replacement
* Run example index file on new master
* Regen package-lock.json
  • Loading branch information
spectranaut authored and mcking65 committed Jul 12, 2019
1 parent 8fdc63f commit 342e70e
Show file tree
Hide file tree
Showing 6 changed files with 844 additions and 623 deletions.
1,128 changes: 688 additions & 440 deletions examples/index.html

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"cheerio": "^1.0.0-rc.2",
"eslint": "^4.19.1",
"geckodriver": "^1.16.2",
"glob": "^7.1.4",
"husky": "^1.2.0",
"lint-staged": "^8.1.6",
"selenium-webdriver": "^4.0.0-alpha.1",
Expand Down
10 changes: 10 additions & 0 deletions scripts/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
},
"rules": {
"no-console": 0
}
}
Loading

0 comments on commit 342e70e

Please sign in to comment.