42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "@navy.gif/commandparser",
|
|
"version": "1.5.7",
|
|
"description": "Parser meant to parse commands and their options for discord bots",
|
|
"author": "Navy.gif",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"repository": "",
|
|
"type": "module",
|
|
"main": "build/cjs/index.js",
|
|
"module": "build/esm/index.js",
|
|
"types": "./build/esm/index.d.ts",
|
|
"files": [
|
|
"build/**/*"
|
|
],
|
|
"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.20.12",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@types/node": "^18.6.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
"@typescript-eslint/parser": "^5.31.0",
|
|
"eslint": "^8.20.0",
|
|
"eslint-plugin-jest": "^27.2.1",
|
|
"jest": "^29.4.2",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc && tsc -p tsconfig.cjs.json && node ./scripts/declareTypes.js",
|
|
"test": "yarn build && jest",
|
|
"release": "yarn build && yarn publish",
|
|
"lint": "eslint --fix"
|
|
}
|
|
}
|