Skip to content

Commit

Permalink
Split as true typescript project
Browse files Browse the repository at this point in the history
  • Loading branch information
Rycochet committed Jan 14, 2024
1 parent 451b483 commit 6f3fe1c
Show file tree
Hide file tree
Showing 42 changed files with 657 additions and 1,260 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage
dist
node_modules
6 changes: 1 addition & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier"
],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "eslint-config-prettier"],
"settings": {
"import/resolver": {
"node": {
Expand Down
8 changes: 5 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120,
"quoteProps": "consistent",
"semi": true,
"singleQuote": false
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "all"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LZ-based compression algorithm for JavaScript
> The file layout has changed in version 2, this is now a joint `commonjs` / `esmodule` project so modern build tools should be happy with it, but if importing a file directly (such as in a direct javascript project) it is important to use the correct one.
> [!TIP]
> The "old style" minified UMD file is available as `dist/index.umd.cjs` via various CDNs or package managers.
> The "old style" minified AMD file is available as `dist/index.umd.js` via various CDNs or package managers.
## Install via [npm](https://www.npmjs.com/package/lz-string)

Expand Down
Loading

0 comments on commit 6f3fe1c

Please sign in to comment.