mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Add support to CommonJS
This commit is contained in:
parent
0bf6645921
commit
91a38084d2
6 changed files with 678 additions and 4 deletions
11
package.json
11
package.json
|
|
@ -3,7 +3,9 @@
|
|||
"description": "Query for the status of any game server in Node.JS",
|
||||
"scripts": {
|
||||
"lint:check": "eslint .",
|
||||
"lint:fix": "eslint --fix ."
|
||||
"lint:fix": "eslint --fix .",
|
||||
"prepare ": "npm run build",
|
||||
"build": "node tools/esbuild.js"
|
||||
},
|
||||
"keywords": [
|
||||
"srcds",
|
||||
|
|
@ -25,7 +27,10 @@
|
|||
"minecraft"
|
||||
],
|
||||
"type": "module",
|
||||
"main": "lib/index.js",
|
||||
"exports": {
|
||||
"import": "./lib/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
},
|
||||
"author": "GameDig Contributors",
|
||||
"version": "5.0.0-beta.0",
|
||||
"repository": {
|
||||
|
|
@ -65,6 +70,8 @@
|
|||
"devDependencies": {
|
||||
"@types/cheerio": "^0.22.31",
|
||||
"@types/node": "^16.18.58",
|
||||
"esbuild": "^0.19.10",
|
||||
"esbuild-node-externals": "^1.12.0",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue