e92b4a9312
* feat(npm): add build script for hybrid cjs+esm support * style: fix mixed indents * allow import from CSS * doc: instructions on how to import css file * refactor(npm): use esbuild.js for a single build command * chore: fix mixed indents * fix(npm): rename file extension in npm include list Co-authored-by: sakkke <w32w64@gmail.com> Co-authored-by: Pocco81 <58336662+Pocco81@users.noreply.github.com> Co-authored-by: Pocco81 <pocco451@gmail.com>
52 lines
1,008 B
JSON
52 lines
1,008 B
JSON
{
|
|
"name": "@catppuccin/palette",
|
|
"version": "0.1.5",
|
|
"description": "Soothing pastel themes for the high-spirited!",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.mjs"
|
|
},
|
|
"./style": "./css/catppuccin.css"
|
|
},
|
|
"scripts": {
|
|
"test": "ava",
|
|
"build": "node esbuild.js",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"files": [
|
|
"css/",
|
|
"dist/index.cjs",
|
|
"dist/index.mjs",
|
|
"index.d.ts"
|
|
],
|
|
"types": "index.d.ts",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/catppuccin/palette.git"
|
|
},
|
|
"keywords": [
|
|
"pastel-colors",
|
|
"catppuccin",
|
|
"colors",
|
|
"theme",
|
|
"palette",
|
|
"soothing"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"author": "Catppuccin Org",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/catppuccin/palette/issues"
|
|
},
|
|
"homepage": "https://github.com/catppuccin/palette#readme",
|
|
"devDependencies": {
|
|
"ava": "^4.2.0",
|
|
"esbuild": "^0.14.42"
|
|
}
|
|
}
|