forked from wikimedia-gadgets/twinkle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create dev folder, move dev scripts and docs there (wikimedia-gadgets…
…#1142) Allow `sync.pl` and `patch-test.js` to be run from any subdirectory, and move them into a new dev folder, along with morebits-test and DEVELOPER.md. oldtwinkle.js has been removed as entirely unnecessary. Also allows providing a port number to patchtest via commandline, and adds sync.pl to the package defs as `sync` and `deployall` with the `--mode=deploy --all` options (use `npm run deployall -- --lang=`, etc. to pass other flags). Instruct `eslint` to ignore /dev folder. Also moved select2 files into a lib/ folder.
- Loading branch information
1 parent
29e10ed
commit 474daec
Showing
12 changed files
with
58 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"title": "Twinkle", | ||
"name": "twinkle", | ||
"private": true, | ||
"repository": "azatoth/twinkle", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"patchtest": "node patch-test.js" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.8.1", | ||
"eslint-plugin-es5": "^1.5.0" | ||
} | ||
"title": "Twinkle", | ||
"name": "twinkle", | ||
"private": true, | ||
"repository": "azatoth/twinkle", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"patchtest": "node dev/patch-test.js", | ||
"sync": "perl dev/sync.pl", | ||
"deployall": "perl dev/sync.pl --mode=all --all" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.8.1", | ||
"eslint-plugin-es5": "^1.5.0" | ||
} | ||
} |