@@ -4,29 +4,37 @@ to: packages/<%=h.changeCase.paramCase(name)%>/package.json
44
55{
66 "name": "<%= ' @chakra-ui/' + h .changeCase .paramCase (name)%> ",
7- "version": "0.0.0-next.0",
8- "main": "<%= ' dist/chakra-ui-' + h .changeCase .paramCase (name) + ' .cjs.js' %> ",
9- "module": "<%= ' dist/chakra-ui-' + h .changeCase .paramCase (name) + ' .esm.js' %> ",
7+ "description": "<%= ' Chakra UI Vue | ' + h .changeCase .pascalCase (name) + ' module' %> ",
8+ "repository": "https://github.com/chakra-ui/chakra-ui-vue-next.git",
9+ "author": "Jonathan Bakebwa
[email protected] ",
10+ "version": "0.0.0-beta.0",
11+ "license": "MIT",
12+ "main": "dist/index.js",
13+ "module": "dist/index.mjs",
14+ "typings": "dist/index.d.ts",
1015 "files": [
1116 "dist"
1217 ],
1318 "exports": {
1419 ".": {
15- "require": "<%= ' ./dist/chakra-ui- ' + h . changeCase . paramCase (name) + ' .cjs.js ' %> ",
16- "default": "<%= ' ./dist/chakra-ui- ' + h . changeCase . paramCase (name) + ' .esm.js ' %> "
20+ "require": "./dist/index.js ",
21+ "default": "./dist/index.mjs "
1722 }
1823 },
19- "description": "<%= ' Chakra UI Vue | ' + h .changeCase .pascalCase (name) + ' module' %> ",
20- "repository": "https://github.com/chakra-ui/chakra-ui-vue-next.git",
21- "author": "Jonathan Bakebwa
[email protected] ",
22- "license": "MIT",
24+ "repository": {
25+ "type": "git",
26+ "url": "git+https://github.com/chakra-ui/chakra-ui-vue-next.git"
27+ },
28+ "bugs": {
29+ "url": "https://github.com/chakra-ui/chakra-ui-vue-next/issues"
30+ },
31+ "sideEffects": false,
2332 "scripts": {
24- "build": "rimraf ./dist && concurrently yarn:build:*",
25- "build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
26- "build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
27- "watch": "concurrently yarn:watch:*",
28- "watch:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps --watch",
29- "watch:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps --watch",
30- "watch:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types --watch --incremental"
33+ "clean": "rimraf dist .turbo",
34+ "build": "tsup && pnpm build:types",
35+ "build:fast": "tsup",
36+ "build:types": "tsup src --dts-only",
37+ "types:check": "tsc --noEmit",
38+ "dev": "tsup --watch"
3139 }
3240}
0 commit comments