45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"name": "@navy.gif/commandparser",
|
|
"version": "1.6.8",
|
|
"description": "Parser meant to parse commands and their options for discord bots",
|
|
"author": "Navy.gif",
|
|
"license": "MIT",
|
|
"repository": "",
|
|
"type": "module",
|
|
"main": "build/cjs/index.js",
|
|
"module": "build/esm/index.js",
|
|
"types": "./build/esm/index.d.ts",
|
|
"files": [
|
|
"build/**/*",
|
|
"README.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./build/esm/index.js",
|
|
"require": "./build/cjs/index.js",
|
|
"default": "./build/cjs/index.js",
|
|
"types": "./build/esm/index.d.ts"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.3",
|
|
"@babel/preset-env": "^7.24.3",
|
|
"@types/node": "^20.11.30",
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
"@typescript-eslint/parser": "^7.4.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-jest": "^27.2.1",
|
|
"jest": "^29.4.2",
|
|
"typescript": "^5.4.3"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc --build && tsc --project tsconfig.cjs.json && node ./scripts/declareTypes.js",
|
|
"test": "yarn build && jest",
|
|
"release:patch": "yarn build && yarn version patch && yarn npm publish",
|
|
"release:minor": "yarn build && yarn version minor && yarn npm publish",
|
|
"release:major": "yarn build && yarn version major && yarn npm publish",
|
|
"lint": "eslint --fix src/"
|
|
},
|
|
"packageManager": "yarn@4.1.1"
|
|
}
|