@harvest-profit/npk
Version:
NPK UI Design System
155 lines (154 loc) • 5.15 kB
JSON
{
"name": "@harvest-profit/npk",
"version": "0.0.71",
"description": "NPK UI Design System",
"source": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./icons": "./dist/icons/index.js",
"./icons/regular": "./dist/icons/regular/index.js"
},
"sideEffects": false,
"scripts": {
"test": "jest --watch",
"test:ci": "jest",
"cover": "jest --coverage",
"start": "npm run build:svgr && storybook dev -p 8080",
"build:docs": "npm run build:svgr && storybook build -o ./build",
"preview-doc-build": "npx http-server build/",
"build:font": "svgtofont --sources ./icons/regular --output ./tmp/font --fontName npkicons && node ./scripts/prepareFont",
"build:icons": "npm run build:svgr && BUILD_ENV=release babel tmp/icons -d dist/icons --extensions .ts,.js,.tsx,.jsx",
"build:svgr": "BUILD_ENV=release npx @svgr/cli --typescript --out-dir tmp/icons -- icons && cp icons/index.js tmp/icons/index.js",
"build:src": "BUILD_ENV=release babel src -d dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__,stories.js,stories.jsx,.mdx --extensions .ts,.js,.tsx,.jsx",
"build:types": "tsc",
"build:css": "postcss dist/**/*.css --replace",
"build": "npm run clean && npm run build:src && npm run build:css && npm run build:icons && npm run build:types",
"clean": "rm -rf ./tmp && rm -rf ./dist && rm -rf ./font",
"prepublishOnly": "npm run build",
"create-release": "npm run cover && sh ./scripts/release",
"lint": "eslint src stories --fix",
"prettier": "prettier --write src stories",
"version": "conventional-changelog -i CHANGELOG.md -o CHANGELOG.md -p angular && git add -A CHANGELOG.md"
},
"browserslist": [
"defaults"
],
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"svgtofont": {
"fontName": "npkicons",
"css": false,
"generateInfoData": true,
"outSVGReact": false
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/HarvestProfit/npk-ui.git"
},
"files": [
"LICENSE",
"README.md",
"dist",
"css",
"src",
"types",
"!src/**/*.stories.*",
"!dist/**/*.stories.*",
"!src/**/*.mdx",
"!dist/**/*.mdx",
"!src/**/*.spec.*",
"!dist/**/*.spec.*",
"!.eslintrc"
],
"keywords": [
"reactstrap",
"bootstrap",
"react",
"component",
"components",
"react-component",
"ui"
],
"contributors": [
"Jake Humphrey <jakehumphrey18@gmail.com> (https://github.com/humphreyja)",
"reactstrap (https://github.com/reactstrap)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/HarvestProfit/npk-ui/issues"
},
"homepage": "https://github.com/HarvestProfit/npk-ui#readme",
"dependencies": {
"@babel/runtime": "^7.26.0",
"@floating-ui/dom": "^1.6.11",
"@floating-ui/react": "^0.26.24"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"devDependencies": {
"@babel/cli": "^7.21.4",
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7",
"@babel/plugin-proposal-export-default-from": "^7.24.7",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.21.0",
"@dr.pogodin/babel-preset-svgr": "^1.8.0",
"@storybook/addon-essentials": "^8.6.0",
"@storybook/addon-storysource": "^8.6.0",
"@storybook/addon-styling-webpack": "^1.0.1",
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
"@storybook/core-events": "^8.6.0",
"@storybook/manager-api": "^8.6.0",
"@storybook/react": "^8.6.0",
"@storybook/react-webpack5": "^8.6.0",
"@storybook/theming": "^8.6.0",
"@svgr/cli": "^8.1.0",
"@svgr/webpack": "^8.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/react": "^18.3.1",
"autoprefixer": "^10.4.20",
"babel-eslint": "^10.1.0",
"babel-jest": "29.7.0",
"babel-loader": "^9.2.1",
"bootstrap-scss": "^4.6.0",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-storybook": "^0.11.3",
"jest": "29.7.0",
"postcss": "^8.5.3",
"postcss-cli": "^11.0.0",
"postcss-nesting": "^13.0.1",
"postcss-preset-env": "^10.1.5",
"prettier": "3.3.3",
"raw-loader": "^4.0.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"sass": "^1.79.3",
"sass-loader": "^16.0.2",
"storybook-css-modules": "^1.0.8",
"storybook-dark-mode": "^4.0.2",
"style-loader": "^4.0.0",
"svgtofont": "^6.3.1",
"ts-loader": "^9.5.2",
"typescript": "^5.7.3"
}
}