-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.2 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.2 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
{
"name": "@badrap/bar-of-progress",
"version": "0.3.0",
"type": "commonjs",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.mjs",
"exports": {
".": "./dist/mjs/index.mjs"
},
"repository": "badrap/bar-of-progress",
"author": "Joachim Viide <jviide@iki.fi>",
"license": "MIT",
"scripts": {
"lint": "eslint --max-warnings 0 .",
"typecheck": "tsc --noEmit",
"build": "rm -rf dist/* && npm run build:cjs && npm run build:mjs",
"build:cjs": "tsc -p ./tsconfig.json --outDir ./dist/cjs",
"build:mjs": "tsc -p ./tsconfig.json --module esnext --moduleResolution node --outDir ./dist/mjs && mv ./dist/mjs/index.js ./dist/mjs/index.mjs && mv ./dist/mjs/index.d.ts ./dist/mjs/index.d.mts",
"changeset": "changeset",
"bump": "changeset version",
"release": "npm run build && changeset publish"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.5",
"@eslint/js": "^9.32.0",
"eslint": "^9.32.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.3",
"prettier": "^3.6.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.38.0"
},
"files": [
"src",
"dist"
]
}