mirror of
https://github.com/yuzu-emu/discord-open-source.git
synced 2025-01-05 05:55:41 +00:00
travis CI tests for communities.json
This commit is contained in:
parent
3b1b43864b
commit
9aa68ad028
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,5 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
node_modules/
|
||||||
|
yarn.lock
|
||||||
|
package-lock.json
|
||||||
|
*.log
|
||||||
|
|
3
.travis.yml
Normal file
3
.travis.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "lts/*"
|
|
@ -1,5 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "discord-open-source",
|
"name": "discord-open-source",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "communities.json"
|
"main": "communities.json",
|
||||||
|
"scripts": {
|
||||||
|
"test": "prettier -c communities.json || (npm run fmt && git diff && exit 1)",
|
||||||
|
"fmt": "prettier --write communities.json"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"prettier": "^1.16.1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue