onecart-ui
Version:
Cross-platform React and React Native component library with white-label support
79 lines (78 loc) • 2.35 kB
JSON
{
"name": "onecart-ui",
"version": "1.0.6",
"description": "Cross-platform React and React Native component library with white-label support",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"react-native": "src/index.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "rollup -c",
"build:watch": "rollup -c -w",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext .ts,.tsx",
"test": "jest",
"dev": "npm run build:watch",
"generate-tokens": "npx figma-token-engine",
"prepublishOnly": "npm run build",
"prepare": "npm run build",
"publish:npm": "npm publish --access public"
},
"keywords": [
"react",
"react-native",
"components",
"ui",
"cross-platform",
"white-label"
],
"author": "",
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-native": ">=0.60.0 || >=0.70.0 || >=0.71.0 || >=0.72.0 || 0.73.0"
},
"devDependencies": {
"@babel/core": "7.28.0",
"@babel/preset-env": "7.28.0",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@storybook/addon-docs": "^9.0.4",
"@storybook/addon-onboarding": "^9.0.4",
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
"@storybook/react-webpack5": "^9.0.4",
"@types/jest": "^29.5.14",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/react-native": "^0.72.8",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"eslint": "^9.28.0",
"eslint-plugin-storybook": "^9.0.4",
"jest": "^29.7.0",
"metro-react-native-babel-preset": "0.76.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^2.79.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"storybook": "^9.0.4",
"ts-jest": "^29.3.4",
"typescript": "^5.8.3"
},
"dependencies": {
"figma-token-engine": "^0.3.0",
"react-native-web": "^0.19.10",
"style-dictionary": "^4.4.0"
}
}