63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"name": "@status-im/colors",
|
|
"version": "1.0.0",
|
|
"license": "MPL-2.0",
|
|
"files": [
|
|
"types",
|
|
"dist",
|
|
"src"
|
|
],
|
|
"main": "dist/index.cjs.js",
|
|
"module": "dist/index.es.js",
|
|
"types": "dist/index.d.ts",
|
|
"source": "src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.es.js",
|
|
"require": "./dist/index.cjs.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.18.0"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"sync": "rimraf src && vite-node scripts/sync.ts",
|
|
"dev": "vite build --watch --mode development",
|
|
"build:types": "tsc --noEmit false --emitDeclarationOnly",
|
|
"build": "vite build",
|
|
"postbuild": "pnpm build:types",
|
|
"#test": "vitest",
|
|
"typecheck": "tsc",
|
|
"lint": "eslint src",
|
|
"lint:fix": "pnpm lint --fix",
|
|
"format": "prettier --write src",
|
|
"clean": "rimraf dist node_modules .turbo",
|
|
"prepack": "pnpm build"
|
|
},
|
|
"peerDependencies": {},
|
|
"devDependencies": {
|
|
"@clack/prompts": "^0.6.3",
|
|
"colorjs.io": "^0.4.3",
|
|
"@status-im/eslint-config": "workspace:*",
|
|
"figma-api": "^1.11.0",
|
|
"fs-extra": "^11.1.1",
|
|
"vite": "^5.4.3",
|
|
"vite-node": "^2.0.5"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
"eslint",
|
|
"prettier --write"
|
|
],
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|