Skip to content

Commit

Permalink
fix: add exports
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed Mar 4, 2024
1 parent bcf0e3a commit fd864a4
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "vitepress-carbon",
"version": "1.1.2",
"version": "1.1.0",
"description": "Carbon embraces GitHub's monochromatic ethos, offering a theme for VitePress documentation that is sleek, modern, and effortlessly stylish.",
"main": "dist/index.js",
"main": "src/index.ts",
"exports": {
".": "./dist/index.js",
".": "./src/index.ts",
"./config": {
"types": "./dist/theme/config/baseConfig.d.ts",
"default": "./dist/theme/config/baseConfig.js"
"types": "./src/theme/config/baseConfig.d.ts",
"default": "./src/theme/config/baseConfig.js"
}
},
"files": [
"dist"
"src"
],
"repository": {
"type": "git",
Expand All @@ -30,11 +30,8 @@
"scripts": {
"lint": "prettier --check --write --parser typescript \"{__tests__,docs,src,types}/**/*.ts\"",
"lint:fail": "prettier --check --parser typescript \"{__tests__,docs,src,types}/**/*.ts\"",
"clean": "rimraf dist/",
"copy": "copyfiles -u 1 ./src/theme/*.vue ./src/theme/**/*.vue ./src/theme/**/*.js ./src/theme/**/*.d.ts ./src/theme/**/*.css ./dist/",
"type": "tsc --noEmit",
"build": "npm run clean && tsc && npm run copy",
"pub": "npm run build && npm version patch --force && npm publish",
"pub": "npm version patch --force && npm publish",
"test": "npm run lint && npm run type",
"dev": "vitepress dev demo",
"demo-build": "vitepress build demo",
Expand All @@ -55,14 +52,12 @@
"@types/lodash.template": "^4.5.3",
"@types/minimist": "^1.2.5",
"@types/node": "^18.15.3",
"copyfiles": "^2.4.1",
"fs-extra": "^11.2.0",
"lodash.template": "^4.5.0",
"minimist": "^1.2.8",
"normalize.css": "^8.0.1",
"picocolors": "^1.0.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"typescript": "^4.9.5",
"vitepress": "^1.0.0-rc.44",
"vue": "^3.2.47"
Expand Down

0 comments on commit fd864a4

Please sign in to comment.