generated from kaandesu/ts-vite-npm-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.01 KB
/
package.json
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
{
"name": "banana-converter",
"author": "kaandesu (https://github.com/kaandesu)",
"version": "0.1.4",
"license": "MIT",
"description": "Convert lengths and distances to bananas and bananas to lenghts",
"keywords": [
"banana",
"converter",
"length",
"distance",
"unit",
"conversion",
"monkey"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kaandesu/banana-converter.git"
},
"homepage": "https://kaandesu.github.io/banana-converter/",
"bugs": {
"url": "https://github.com/kaandesu/banana-converter/issues"
},
"files": [
"dist"
],
"main": "./dist/banana-converter.umd.cjs",
"module": "./dist/banana-converter.js",
"exports": {
".": {
"import": "./dist/banana-converter.js",
"require": "./dist/banana-converter.umd.cjs",
"types": "./dist/index.d.ts"
},
"./style.css": "./dist/style.css"
},
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"dev": "vite",
"build": "npm run test && vite build --mode production && npm run generate:types && npm run build:pages",
"build:lib": "npm run test && vite build --mode production && npm run generate:types",
"clean": "rm -rf ./dist && rm -rf ./live-demo && rm -rf ./coverage",
"coverage:web": "http-server ./coverage",
"generate:types": "tsc -p tsconfig-build.json --declaration --emitDeclarationOnly true --outdir ./dist",
"changeset": "changeset",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"build:pages": "npm run docs:build && npm run build:live-demo",
"build:live-demo": "vite build --mode live-demo --outDir ./docs/.vitepress/dist/live-demo",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@vitest/coverage-v8": "^0.34.6",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vitepress": "^1.0.0-rc.24",
"vitest": "^0.34.6"
}
}