2023-04-14 21:27:05 +00:00
|
|
|
{
|
|
|
|
"name": "@status-im/colors",
|
2024-11-14 05:56:10 +00:00
|
|
|
"version": "1.0.2",
|
2024-09-25 15:17:58 +00:00
|
|
|
"license": "MPL-2.0",
|
2023-04-14 21:27:05 +00:00
|
|
|
"files": [
|
|
|
|
"types",
|
|
|
|
"dist",
|
|
|
|
"src"
|
|
|
|
],
|
2024-09-25 15:17:58 +00:00
|
|
|
"main": "dist/index.cjs.js",
|
|
|
|
"module": "dist/index.es.js",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"source": "src/index.ts",
|
2023-04-14 21:27:05 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2024-09-25 15:17:58 +00:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.es.js",
|
|
|
|
"require": "./dist/index.cjs.js"
|
2023-04-14 21:27:05 +00:00
|
|
|
},
|
|
|
|
"./package.json": "./package.json"
|
|
|
|
},
|
2024-11-01 18:29:14 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=18.18.0"
|
|
|
|
},
|
2023-04-14 21:27:05 +00:00
|
|
|
"scripts": {
|
2024-11-01 18:29:14 +00:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2023-04-14 21:27:05 +00:00
|
|
|
"sync": "rimraf src && vite-node scripts/sync.ts",
|
|
|
|
"dev": "vite build --watch --mode development",
|
|
|
|
"build:types": "tsc --noEmit false --emitDeclarationOnly",
|
|
|
|
"build": "vite build",
|
2024-11-01 18:29:14 +00:00
|
|
|
"postbuild": "pnpm build:types",
|
2023-04-14 21:27:05 +00:00
|
|
|
"#test": "vitest",
|
|
|
|
"typecheck": "tsc",
|
|
|
|
"lint": "eslint src",
|
2024-11-01 18:29:14 +00:00
|
|
|
"lint:fix": "pnpm lint --fix",
|
2023-04-14 21:27:05 +00:00
|
|
|
"format": "prettier --write src",
|
2024-02-23 14:13:29 +00:00
|
|
|
"clean": "rimraf dist node_modules .turbo",
|
2024-11-01 18:29:14 +00:00
|
|
|
"prepack": "pnpm build"
|
2023-04-14 21:27:05 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {},
|
|
|
|
"devDependencies": {
|
|
|
|
"@clack/prompts": "^0.6.3",
|
|
|
|
"colorjs.io": "^0.4.3",
|
2024-11-01 18:29:14 +00:00
|
|
|
"@status-im/eslint-config": "workspace:*",
|
2023-04-14 21:27:05 +00:00
|
|
|
"figma-api": "^1.11.0",
|
|
|
|
"fs-extra": "^11.1.1",
|
2024-09-25 15:17:58 +00:00
|
|
|
"vite": "^5.4.3",
|
|
|
|
"vite-node": "^2.0.5"
|
2023-06-27 20:30:11 +00:00
|
|
|
},
|
2023-06-29 10:04:52 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2023-06-27 20:30:11 +00:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx,js,jsx,mjs}": [
|
|
|
|
"eslint",
|
|
|
|
"prettier --write"
|
|
|
|
],
|
|
|
|
"*.{md,mdx,yml,yaml,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
]
|
2023-04-14 21:27:05 +00:00
|
|
|
}
|
|
|
|
}
|