57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"name": "@status-im/colors",
|
|
"version": "0.4.0",
|
|
"files": [
|
|
"types",
|
|
"dist",
|
|
"src"
|
|
],
|
|
"main": "dist/colors.js",
|
|
"module": "dist/colors.mjs",
|
|
"types": "dist/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types:": "./dist/types/index.d.ts",
|
|
"import": "./dist/colors.mjs",
|
|
"require": "./dist/colors.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"sync": "rimraf src && vite-node scripts/sync.ts",
|
|
"dev": "vite build --watch --mode development",
|
|
"build:types": "tsc --noEmit false --emitDeclarationOnly",
|
|
"build": "vite build",
|
|
"postbuild": "yarn build:types",
|
|
"#test": "vitest",
|
|
"typecheck": "tsc",
|
|
"lint": "eslint src",
|
|
"lint:fix": "yarn lint --fix",
|
|
"format": "prettier --write src",
|
|
"clean": "rimraf dist node_modules .turbo",
|
|
"prepack": "yarn build"
|
|
},
|
|
"peerDependencies": {},
|
|
"devDependencies": {
|
|
"@clack/prompts": "^0.6.3",
|
|
"colorjs.io": "^0.4.3",
|
|
"@status-im/eslint-config": "*",
|
|
"figma-api": "^1.11.0",
|
|
"fs-extra": "^11.1.1",
|
|
"vite": "^4.1.4",
|
|
"vite-node": "^0.29.7"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
"eslint",
|
|
"prettier --write"
|
|
],
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|