domelementtype
Advanced tools
Comparing version 2.2.0 to 2.3.0
{ | ||
"name": "domelementtype", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "all the types of nodes in htmlparser2's dom", | ||
@@ -16,2 +16,7 @@ "author": "Felix Boehm <me@feedic.com>", | ||
"types": "lib/index.d.ts", | ||
"module": "lib/esm/index.js", | ||
"exports": { | ||
"require": "./lib/index.js", | ||
"import": "./lib/esm/index.js" | ||
}, | ||
"files": [ | ||
@@ -26,2 +31,4 @@ "lib/**/*" | ||
"dom", | ||
"element", | ||
"types", | ||
"htmlparser2" | ||
@@ -33,3 +40,5 @@ ], | ||
"format": "prettier --write **/*.{ts,json,md}", | ||
"build": "tsc", | ||
"build": "npm run build:cjs && npm run build:esm", | ||
"build:cjs": "tsc", | ||
"build:esm": "tsc --module esnext --target es2019 --outDir lib/esm && echo '{\"type\":\"module\"}' > lib/esm/package.json", | ||
"prepare": "npm run build" | ||
@@ -41,9 +50,9 @@ }, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.1.0", | ||
"@typescript-eslint/parser": "^4.1.0", | ||
"eslint": "^7.9.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"prettier": "^2.1.1", | ||
"typescript": "^4.0.2" | ||
"@typescript-eslint/eslint-plugin": "^5.18.0", | ||
"@typescript-eslint/parser": "^5.18.0", | ||
"eslint": "^8.12.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"prettier": "^2.6.2", | ||
"typescript": "^4.6.3" | ||
} | ||
} |
11359
10
200