-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): modernize stack, bump xlsx dep
- Loading branch information
Showing
21 changed files
with
1,923 additions
and
1,334 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"root": true, | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "prettier"], | ||
"parser": "@typescript-eslint/parser", | ||
"ignorePatterns": ["**/*.js"] | ||
"extends": ["@mgcrea/node"] | ||
} |
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,6 +1,6 @@ | ||
.DS_Store | ||
.idea/ | ||
lib/ | ||
dist/ | ||
node_modules/ | ||
.vscode/ | ||
*.tsbuildinfo | ||
|
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,6 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"proseWrap": "always", | ||
"bracketSpacing": false | ||
"printWidth": 110, | ||
"plugins": ["prettier-plugin-organize-imports"] | ||
} |
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 |
---|---|---|
|
@@ -3,18 +3,30 @@ | |
"author": "Olivier Louvignes <[email protected]>", | ||
"version": "0.23.0", | ||
"description": "NodeJS Excel files parser & builder", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"type": "module", | ||
"main": "./dist/index.cjs", | ||
"exports": { | ||
".": { | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"bin": { | ||
"node-xlsx": "./lib/bin/cli.js" | ||
"node-xlsx": "./dist/bin/cli.js" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"start": "npm run spec -- --watch", | ||
"build": "rimraf lib/*; tsc --build", | ||
"build": "tsup --entry src/index.ts --format cjs,esm --sourcemap --dts --clean --entry src/bin/cli.ts", | ||
"lint": "eslint src/ test/", | ||
"prettycheck": "prettier --check src/ test/", | ||
"prettify": "prettier --write src/ test/", | ||
"typecheck": "tsc --noEmit", | ||
"spec": "jest --runInBand", | ||
"spec": "DEBUG=node-xlsx* vitest --run", | ||
"watch": "DEBUG=node-xlsx* vitest --watch", | ||
"test": "npm run lint && npm run prettycheck && npm run typecheck && npm run spec", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
|
@@ -24,22 +36,20 @@ | |
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.5.0", | ||
"@tsconfig/node10": "^1.0.9", | ||
"@types/jest": "^29.5.1", | ||
"@types/sodium-native": "^2.3.5", | ||
"@typescript-eslint/eslint-plugin": "^5.59.7", | ||
"@typescript-eslint/parser": "^5.59.7", | ||
"eslint": "^8.41.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "^29.5.0", | ||
"prettier": "^2.8.8", | ||
"rimraf": "^5.0.1", | ||
"ts-jest": "^29.1.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.4" | ||
"@jest/globals": "^29.7.0", | ||
"@mgcrea/eslint-config-node": "^0.10.0", | ||
"@tsconfig/node-lts": "^20.1.1", | ||
"@tsconfig/strictest": "^2.0.3", | ||
"@types/node": "^20.12.7", | ||
"eslint": "^8.57.0", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-organize-imports": "^3.2.4", | ||
"rimraf": "^5.0.5", | ||
"ts-node": "^10.9.2", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.5", | ||
"vite-tsconfig-paths": "^4.3.2", | ||
"vitest": "^1.5.0" | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
|
Oops, something went wrong.