update: more bundle stuff

This commit is contained in:
Braks
2021-07-10 15:34:13 +02:00
parent 6edaa3f4df
commit e2deded187
+5 -1
View File
@@ -9,7 +9,11 @@
"license": "MIT", "license": "MIT",
"author": "Burak Cakmakoglu", "author": "Burak Cakmakoglu",
"main": "dist/revue-flow.es.js", "main": "dist/revue-flow.es.js",
"browser": "dist/revue-flow.esm.js",
"unpkg": "dist/revue-flow.global.js",
"jsdelivr": "dist/revue-flow.global.js",
"module": "dist/revue-flow.umd.js", "module": "dist/revue-flow.umd.js",
"types": "dist/index.d.ts",
"files": [ "files": [
"dist", "dist",
"nocss" "nocss"
@@ -20,7 +24,7 @@
"build:dist": "rollup -c --environment NODE_ENV:production", "build:dist": "rollup -c --environment NODE_ENV:production",
"build:app": "vite build -c vite.config.app.ts", "build:app": "vite build -c vite.config.app.ts",
"serve": "vite preview", "serve": "vite preview",
"prepublishOnly": "yarn build", "prepublishOnly": "yarn build:dist",
"test": "exit 0;", "test": "exit 0;",
"lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", "lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
"lint": "yarn lint:js" "lint": "yarn lint:js"