@postnord/web-components
Version:
PostNord Web Components
153 lines (152 loc) • 3.57 kB
JSON
{
"name": "@postnord/web-components",
"version": "7.14.0",
"description": "PostNord Web Components",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"main": "index.cjs.js",
"module": "components/index.js",
"es2017": "esm/index.js",
"types": "components/index.d.ts",
"collection": "collection/collection-manifest.json",
"collection:main": "collection/index.js",
"unpkg": "postnord-web-components/postnord-web-components.esm.js",
"scripts": {
"start": "wireit",
"build": "wireit",
"stencil:build": "wireit",
"generate": "wireit",
"exposed": "wireit",
"bom": "cyclonedx-bom -o bom.xml --include-dev"
},
"dependencies": {
"@stencil/core": "4.22.0"
},
"devDependencies": {
"@babel/core": "^7.27.7",
"@cyclonedx/bom": "^3.10.6",
"@stencil/sass": "3.2.1",
"@storybook/addon-a11y": "^9.0.13",
"@storybook/addon-designs": "^10.0.1",
"@storybook/builder-vite": "^9.0.13",
"@storybook/cli": "^9.0.13",
"@storybook/web-components-vite": "^9.0.13",
"api-now": "^0.5.4",
"dayjs": "1.11.13",
"lodash.kebabcase": "^4.1.1",
"plop": "^4.0.1",
"pn-design-assets": "2.2.0",
"prettier": "3.6.2",
"sass": "^1.89.2",
"storybook": "^9.0.13",
"typescript": "^5.8.3",
"uuid": "^11.1.0",
"vite": "^6.3.5",
"vite-tsconfig-paths": "^5.1.4",
"wireit": "^0.14.12",
"@storybook/addon-docs": "^9.0.13"
},
"license": "MIT",
"type": "module",
"wireit": {
"start": {
"command": "storybook dev -p 6006",
"service": {
"readyWhen": {
"lineMatches": "info => Starting preview.."
}
},
"dependencies": [
"stats",
"stencil:watch"
]
},
"stencil:watch": {
"command": "stencil build --dev --watch",
"service": {
"readyWhen": {
"lineMatches": "build finished, watching for changes..."
}
},
"dependencies": [
"stats"
]
},
"build": {
"command": "storybook build",
"files": [
".storybook"
],
"output": [
"storybook-static/**"
],
"dependencies": [
"stencil:build",
"readme:build"
]
},
"stencil:build": {
"command": "stencil build",
"files": [
"src/**/*{.scss,.ts,.tsx}",
"tsconfig.json"
],
"output": [
"dist/**"
],
"dependencies": [
"stats"
]
},
"storybook:build": {
"command": "storybook build",
"files": [
".storybook"
],
"output": [
"storybook-static/**"
],
"dependencies": [
"stencil:build"
]
},
"readme:build": {
"command": "cp readme.md dist/",
"dependencies": [
"stencil:build"
]
},
"exposed": {
"command": "./scripts/expose_server.sh",
"dependencies": [
"start"
]
},
"stats": {
"command": "node ./scripts/generateStats.js",
"dependencies": [
"stats:ts"
]
},
"stats:ts": {
"command": "tsc --module NodeNext --moduleResolution NodeNext --skipLibCheck ./scripts/generateStats.ts"
},
"generate": {
"command": "plop",
"dependencies": [
"generate:ts"
]
},
"generate:ts": {
"command": "tsc --module NodeNext --moduleResolution NodeNext --skipLibCheck ./plopfile.ts"
}
},
"keywords": [
"postnord",
"web components",
"components",
"stencil",
"custom elements"
]
}