status-web/packages/icons/package.json

52 lines
1.4 KiB
JSON
Raw Normal View History

2023-01-17 13:32:04 +00:00
{
"name": "@status-im/icons",
"version": "0.0.1",
"types": "src/index.tsx",
"main": "src/index.tsx",
"private": true,
"files": [
"types",
"dist",
"src"
2023-01-17 13:32:04 +00:00
],
"#browser": {
"react-native-svg": "@tamagui/react-native-svg"
},
"#exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
},
"./src/12/*.svg": "./src/12/*.svg",
"./src/16/*.svg": "./src/16/*.svg",
"./src/20/*.svg": "./src/20/*.svg",
"./src/reactions/*.svg": "./src/reactions/*.svg"
},
2023-01-17 13:32:04 +00:00
"scripts": {
"dev": "vite build --watch --mode development",
2023-01-23 13:03:08 +00:00
"generate": "rimraf 12 16 20 reactions && svgr src && yarn fix",
2023-01-17 13:32:04 +00:00
"build": "vite build",
"#postbuild": "yarn typegen",
2023-01-17 13:32:04 +00:00
"#test": "vitest",
"typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'",
"lint:fix": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}' --fix",
"format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'",
"fix": "yarn lint:fix && yarn format",
"clean": "rimraf dist node_modules .turbo"
2023-01-17 13:32:04 +00:00
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x",
"react-dom": "*",
"react-native-svg": ">=12"
2023-01-17 13:32:04 +00:00
},
"devDependencies": {
"@svgr/cli": "^6.5.1",
"@svgr/core": "^6.5.1",
2023-01-17 13:32:04 +00:00
"vite": "^4.0.4"
}
}