Skip to content

Commit a17783e

Browse files
committed
📝 Configure np
1 parent 39019a0 commit a17783e

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

package.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dev": "astro dev",
77
"build": "astro check && astro build",
88
"build:package": "node scripts/build.js",
9+
"publish": "cd dist && np",
910
"test": "echo \"Error: no test specified\""
1011
},
1112
"dependencies": {
@@ -21,20 +22,25 @@
2122
},
2223
"exports": {
2324
"./astro": "./astro.js",
25+
"./svelte": "./svelte.js",
26+
"./react": "./react.js",
2427
"./styles": "./scss/index.scss",
2528
"./config": "./scss/config.scss"
2629
},
2730
"files": [
28-
"dist/components",
29-
"src/astro.d.ts",
30-
"src/astro.js",
31-
"src/svelte.d.ts",
32-
"src/svelte.js",
33-
"src/react.d.ts",
34-
"src/react.js",
31+
"public",
32+
"components",
3533
"scss",
36-
"public"
34+
"astro.d.ts",
35+
"astro.js",
36+
"svelte.d.ts",
37+
"svelte.js",
38+
"react.d.ts",
39+
"react.js"
3740
],
41+
"np": {
42+
"contents": "dist"
43+
},
3844
"license": "MIT",
3945
"description": "UI component and template library for Astro, Svelte, and React apps styled with Sass.",
4046
"keywords": [

0 commit comments

Comments
 (0)