Skip to content

Commit 1286453

Browse files
author
Luís Assunção
committed
Added Lang Folder.
1 parent aaa08b2 commit 1286453

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@
3030
"module": "./dist/snap-records.es.js",
3131
"exports": {
3232
".": {
33+
"types": "./dist/index.d.ts",
3334
"import": "./dist/snap-records.es.js",
3435
"require": "./dist/snap-records.umd.js"
35-
}
36+
},
37+
"./dist/*": "./dist/*",
38+
"./lang/*": "./dist/lang/*",
39+
"./package.json": "./package.json",
40+
"./style.css": "./dist/snap-records.css"
3641
},
3742
"repository": {
3843
"type": "git",
@@ -72,7 +77,7 @@
7277
"preview": "vite preview",
7378
"lint": "eslint \"src/**/*.{js,ts}\"",
7479
"lint:fix": "eslint \"src/**/*.{js,ts}\" --fix",
75-
"build": "npm run build:js && npm run build:css",
80+
"build": "npm run build:js && npm run build:css && mkdir -p dist/lang && cp src/lang/*.json dist/lang/",
7681
"demo:dev": "vite demo --config vite.config.demo.ts",
7782
"demo:build": "vite build demo --config vite.config.demo.ts",
7883
"format": "prettier --write \"src/**/*.{js,ts,json,scss,md}\"",

0 commit comments

Comments
 (0)