filesafe/scripts
Bobby Wibowo 98e6c59255
expanded gulp linter to lint server-side JS files
changed reporter formatter for gulp stylelint from verbose to string
this should now only print out issues to console

linted other server-side JS files that i missed out on previous commits

bumped versions.js to trigger github actions
2020-11-10 22:56:18 +07:00
..
bump-versions.js expanded gulp linter to lint server-side JS files 2020-11-10 22:56:18 +07:00
cf-purge.js expanded gulp linter to lint server-side JS files 2020-11-10 22:56:18 +07:00
clean-up.js expanded gulp linter to lint server-side JS files 2020-11-10 22:56:18 +07:00
delete-expired.js expanded gulp linter to lint server-side JS files 2020-11-10 22:56:18 +07:00
README.md Updated scripts/README.md again again 2019-09-19 20:44:48 +07:00
thumbs.js expanded gulp linter to lint server-side JS files 2020-11-10 22:56:18 +07:00

README

cf-purge.js

$ yarn cf-purge
$ node ./scripts/cf-purge.js

Purge Cloudflare's cache.

Usage:
node scripts/cf-purge.js ...filename

filename:
Upload names separated by space (will automatically include their thumbs if available).

clean-up.js

$ yarn clean-up -h
$ node ./scripts/clean-up.js -h

Clean up files that are not in the database.

Usage:
node scripts/clean-up.js [mode=0|1|2]

mode:
0 = Only list names of files that are not in the database.
1 = Clean up the files.

delete-expired.js

$ yarn delete-expired -h
$ node ./scripts/delete-expired.js -h

Bulk delete expired files.

Usage:
node scripts/delete-expired.js [mode=0|1|2]

mode:
0 = Only list names of the expired files.
1 = Delete expired files (output file names).
2 = Delete expired files (no output).

thumbs.js

[...]

bump-versions.js

[...]