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