Pavel 6558e437f5
Automate sync of colors and icons with Figma (#378)
* remove old icons

* add script for syncing icons

* regenerate icons

* update @status-im/icons exports

* allow scroll in storybook

* migrate to new icons import

* add iconography story

* update root package.json

* fix typo

* add @status-im/colors

* generate colors

* add colors story

* fix ci
2023-04-14 23:27:05 +02:00

44 lines
1.1 KiB
JSON

{
"name": "@status-im/colors",
"version": "0.0.1",
"private": true,
"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"
},
"peerDependencies": {},
"devDependencies": {
"@clack/prompts": "^0.6.3",
"colorjs.io": "^0.4.3",
"figma-api": "^1.11.0",
"fs-extra": "^11.1.1",
"vite": "^4.1.4",
"vite-node": "^0.29.7"
}
}