diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..7c498e6 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,51 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/** +!**/src/test/** + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ + +### VS Code ### +.vscode/ +.cache/ + +node_modules +bundle.js +bundle.min.js +adminBundle.js +adminBundle.min.js +worker.js +chatWorker.js +chatWorker.min.js +node +src/main/javascript/node/ +dist +out +yarn-error.log +gen-password.txt + +**/static/** + +License.md \ No newline at end of file diff --git a/package.json b/package.json index f7b79ac..0e3a18e 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "grunt-banner": "^0.6.0", "grunt-browserify": "^5.3.0", "grunt-terser": "^1.0.0", + "prettier": "2.0.5", "tsify": "^4.0.1", "typescript": "^3.7.4", "uglify-js": "^3.7.5" diff --git a/yarn.lock b/yarn.lock index 465969f..ba06ebb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2344,6 +2344,11 @@ posix-character-classes@^0.1.0: resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= +prettier@2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" + integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== + process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"