-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.1 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "@jojech/game-core",
"version": "0.2.0",
"description": "Package containing core game assets like decks and dice.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"bin": {
"game-core": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"build:lib": "tsup src/index.ts --format cjs,esm --dts",
"build:cli": "tsup src/cli/index.ts --format cjs --dts --out-dir dist --outExtension .js=.js --target node18 --platform node --banner.js=\"#!/usr/bin/env node\"",
"build:watch": "tsup --watch",
"cli:dev": "tsx src/cli/index.ts",
"test": "vitest",
"test:ci": "vitest run",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"changeset": "changeset",
"version": "changeset version",
"release": "npm run build && changeset publish",
"prepublishOnly": "npm run build",
"clean": "rimraf dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jojech/game-package.git"
},
"author": "Jeremy Johnson",
"license": "ISC",
"bugs": {
"url": "https://github.com/jojech/game-package/issues"
},
"homepage": "https://github.com/jojech/game-package#readme",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/node": "^20.11.17",
"@types/prompts": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitest/coverage-v8": "^1.2.2",
"eslint": "^8.56.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"commander": "^12.0.0",
"prompts": "^2.4.2"
}
}