mirror of
https://github.com/robonen/questlang.git
synced 2026-03-20 02:44:47 +00:00
fix: update package.json to correct project name and improve module exports
This commit is contained in:
14
package.json
14
package.json
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "questlang-interpreter",
|
"name": "questlang",
|
||||||
|
"type": "module",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "TypeScript interpreter for QuestLang programming language",
|
"description": "TypeScript interpreter for QuestLang programming language",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -11,20 +12,27 @@
|
|||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/index.js"
|
"import": "./dist/index.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"questlang": "dist/cli.js"
|
"questlang": "dist/cli.js"
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"README.md",
|
||||||
|
"dist",
|
||||||
|
"examples"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsdown",
|
"build": "tsdown",
|
||||||
"dev": "vitest",
|
"dev": "vitest",
|
||||||
"test": "vitest test",
|
"test": "vitest run",
|
||||||
"coverage": "vitest --coverage",
|
"coverage": "vitest --coverage",
|
||||||
"lint:check": "eslint ./src",
|
"lint:check": "eslint ./src",
|
||||||
"lint:fix": "eslint ./src --fix",
|
"lint:fix": "eslint ./src --fix",
|
||||||
"type:check": "tsc --noEmit"
|
"type:check": "tsc --noEmit",
|
||||||
|
"prepublish": "pnpm run build && pnpm run type:check && pnpm run test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@clack/prompts": "^0.11.0"
|
"@clack/prompts": "^0.11.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user