status-web/packages/icons/package.json

73 lines
1.8 KiB
JSON

{
"name": "@status-im/icons",
"version": "0.1.0",
"files": [
"dist",
"svg"
],
"main": "dist/icons.js",
"module": "dist/icons.mjs",
"types": "dist/types/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/icons.mjs",
"require": "./dist/icons.js"
},
"./*.svg": {
"import": "./svg/*.svg"
}
},
"scripts": {
"sync": "vite-node scripts/sync.ts && yarn generate",
"generate": "rimraf src && svgr svg --out-dir src",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly",
"#test": "vitest",
"typecheck": "tsc",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix",
"format": "prettier --write 'src/**/*.{ts,tsx}'",
"clean": "rimraf dist node_modules .turbo"
},
"dependencies": {
"@tamagui/core": "1.36.4",
"@tamagui/web": "1.36.4",
"tamagui": "1.36.4"
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x",
"react-dom": "*",
"react-native-svg": ">=12"
},
"devDependencies": {
"@clack/prompts": "^0.6.3",
"@svgr/cli": "^6.5.1",
"@svgr/core": "^7.0.0",
"@svgr/plugin-prettier": "^7.0.0",
"@svgr/plugin-svgo": "^7.0.0",
"@types/fs-extra": "^11.0.1",
"@status-im/eslint-config": "*",
"figma-api": "^1.11.0",
"fs-extra": "^11.1.1",
"svgo": "^3.0.2",
"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"
]
}
}