diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index a4a259a39b03f842a47e4bc5861e8ec6f211bd0d..0000000000000000000000000000000000000000 --- a/.editorconfig +++ /dev/null @@ -1,8 +0,0 @@ -root = true - -[*] -trim_trailing_whitespace = true -insert_final_newline = true -indent_style = space -indent_size = 2 -end_of_line = lf diff --git a/.env b/.env deleted file mode 100644 index f6bb7a98f35b0e85f47d7576c50b5ef5bcc031fd..0000000000000000000000000000000000000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ -AUTH_ID=x -AUTH_SECRET=x diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index eedcc9b831f42765b3b2032651993a340d0799ce..0000000000000000000000000000000000000000 --- a/.eslintrc +++ /dev/null @@ -1,36 +0,0 @@ -{ - "env": { - "es6": true, - "node": true, - "browser": true - }, - "extends": "airbnb-base", - "parserOptions": { - "sourceType": "module" - }, - "rules" : { - "max-len": ["error", { - "code": 150 - }], - "arrow-parens": ["error", "as-needed"], - "no-multi-assign": 0, - "strict": 0, - "no-console": 0, - "no-plusplus": 0, - "prefer-destructuring": 0, - "function-paren-newline": 0, - "global-require": 0, - "prefer-spread": 0, - "prefer-rest-params": 0, - "prefer-object-spread": 0, - "prefer-arrow-callback": 0, - "arrow-body-style": 0, - "no-restricted-globals": 0, - "consistent-return": 0, - "no-param-reassign": 0, - "no-underscore-dangle": 0, - "import/no-unresolved": 0, - "import/no-dynamic-require": 0, - "import/no-extraneous-dependencies": 0 - } -} diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 0b3baca9dad56ef3cba020327d987302070b1493..0000000000000000000000000000000000000000 --- a/.gitattributes +++ /dev/null @@ -1,4 +0,0 @@ -lib/** -diff -dist/** -diff binary -locale/* -diff -package-lock.json -diff diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md deleted file mode 100644 index 35755d4b07cb6e8d34e7ba4573c90dc12dddbe0a..0000000000000000000000000000000000000000 --- a/.github/CONTRIBUTING.md +++ /dev/null @@ -1,36 +0,0 @@ -We welcome contributions to the project! :beer: - -## Bug submission - -If you are submitting a bug report, please include the following: - -1. the JSON Schema content that fails: go to [the demo page](http://json-schema-faker.js.org/), paste the schema into the textarea on the left, click `Generate example`, and then copy the resulting URL from the browser address bar and paste it here. This will make it easier for us to reproduce and fix the bug. Thank you in advance! :beer: Otherwise please paste the schema inline in your bug report. -2. the result you got -3. the result you expected - -## Issues & Pull-requests - -* When submitting *bug reports*, *paste your schema example* whenever possible. This will save us from having to ask you for it later. -* When submitting *Pull Requests (PRs)*, you should request to merge your changes into our `develop` branch. -* Our approach to testing is described in [spec/README.md](/spec/README.md). -* PRs without specs will not be merged anytime soon! - -## Releasing new versions - -* Create a new entry in the [CHANGELOG](/CHANGELOG) file, -* Re-build and re-release the online demo, see [`website-jsf` gh-pages branch](https://github.com/json-schema-faker/website-jsf/tree/gh-pages). - -## Development tasks - -* `npm run dev` — Run the tests and watch (preferred during development) -* `npm run dev:lint` — Run eslint on all sources -* `npm run dev:unit` — Run `jasmine-node` on unit tests -* `npm run dev:schema` — Run `jasmine-node` on schema tests -* `npm run cover` — Run istanbul + jasmine-node -* `npm run cover:up` — Upload to coveralls (CI only) -* `npm run dist` — Prepare all assets with locales for CDN support -* `npm test` — Run all the tests - -### Upcoming - -* `npm run tsc` — Compile TypeScript to JavaScript (via commonJS) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 2965e19a9a98dacfcc2c44194ae199710f732bcd..0000000000000000000000000000000000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8MXLRJ7QQXGYY&source=url -open_collective: json-schema-faker -github: pateketrueke -ko-fi: pateketrueke diff --git a/.github/issue_template.md b/.github/issue_template.md deleted file mode 100644 index aca41042b3844594100fe56005c3138c96ae73e1..0000000000000000000000000000000000000000 --- a/.github/issue_template.md +++ /dev/null @@ -1,5 +0,0 @@ -If you are reporting a bug, please include the following: - -1. the JSON Schema content that fails - preferably using http://json-schema-faker.js.org/ (paste the schema, click `Generate example` and then copy and paste the resulting URL from the browser address bar) -2. the result you got -3. the result you expected diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 57204c11fd7a10274d3711fabba6559bc6870b00..0000000000000000000000000000000000000000 --- a/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -# IDEs -.idea -.vscode -.tarima - -*~ -*.log -*.tgz -*.todo -.nyc_output -.DS_Store -/lib -/dist -/build -/package -/reports -/coverage -/generated -/nbproject -/node_modules -/locale -/bower_components -/build/index.json - -### Vim ### -# swap -[._]*.s[a-v][a-z] -[._]*.sw[a-p] -[._]s[a-v][a-z] -[._]sw[a-p] -# session -Session.vim -# temporary -.netrwhist -*~ -# auto-generated tag files -tags diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 557de00630f756f42cccd8b87d85ffb23cb710a9..0000000000000000000000000000000000000000 --- a/.npmignore +++ /dev/null @@ -1,19 +0,0 @@ -.* -*~ -*.log -*.tgz -*.json -.DS_Store -build-dist.js -bower.json -tslint.json -/ts -/docs -/spec -/build -/package -/reports -/coverage -/generated -/node_modules -/logo diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b9b724d7e480745ab3f1b10fed96eed25702a163..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -sudo: required -dist: trusty -language: node_js -branches: - except: - - gh-pages -node_js: - - 6 - - 8 - - 9 - - 10 - - 11 - - 12 -before_script: - - npm run build -script: - - npm run test:ci -after_success: - - npm run codecov -notifications: - email: false