mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
134 lines
3.2 KiB
JSON
134 lines
3.2 KiB
JSON
{
|
|
"name": "carbon-components-svelte",
|
|
"version": "0.3.3",
|
|
"license": "Apache-2.0",
|
|
"description": "Svelte implementation of the Carbon Design System",
|
|
"svelte": "src/index.js",
|
|
"main": "lib/index.js",
|
|
"module": "lib/index.mjs",
|
|
"scripts": {
|
|
"start": "start-storybook -p 9090",
|
|
"build": "rollup -c",
|
|
"build:storybook": "build-storybook -o docs",
|
|
"test": "jest --coverage",
|
|
"test:tdd": "jest --watch",
|
|
"prepublishOnly": "yarn build"
|
|
},
|
|
"dependencies": {
|
|
"carbon-icons-svelte": "^10.8.2",
|
|
"flatpickr": "^4.6.3"
|
|
},
|
|
"peerDependencies": {
|
|
"carbon-components": "^10.9.3",
|
|
"carbon-icons-svelte": "^10.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.0",
|
|
"@babel/preset-env": "^7.8.0",
|
|
"@commitlint/cli": "^8.3.4",
|
|
"@commitlint/config-conventional": "^8.3.4",
|
|
"@storybook/addon-knobs": "^5.3.1",
|
|
"@storybook/addon-storysource": "^5.3.1",
|
|
"@storybook/cli": "^5.3.1",
|
|
"@storybook/svelte": "^5.3.1",
|
|
"@testing-library/jest-dom": "^5.1.0",
|
|
"@testing-library/svelte": "^1.11.0",
|
|
"babel-jest": "^25.1.0",
|
|
"babel-loader": "^8.0.6",
|
|
"carbon-components": "^10.9.3",
|
|
"eslint": "^6.7.2",
|
|
"eslint-plugin-svelte3": "^2.7.3",
|
|
"husky": "^4.2.1",
|
|
"jest": "^24.9.0",
|
|
"jest-transform-svelte": "^2.1.0",
|
|
"lint-staged": "^10.0.7",
|
|
"prettier": "^1.19.1",
|
|
"prettier-plugin-svelte": "^0.7.0",
|
|
"pretty-quick": "^2.0.1",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"rollup": "^1.29.0",
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-svelte": "^5.1.1",
|
|
"rollup-plugin-terser": "^5.2.0",
|
|
"svelte": "^3.16.7",
|
|
"svelte-loader": "^2.13.6"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Eric Liu",
|
|
"email": "eric.young.liu@ibm.com"
|
|
},
|
|
{
|
|
"name": "Adan Ulloa",
|
|
"email": "adanug@mx1.ibm.com"
|
|
}
|
|
],
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=10",
|
|
"yarn": ">=1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && pretty-quick --pattern 'src/**/*.{js,svelte}' --staged",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,svelte}": [
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"tabWidth": 2,
|
|
"semi": true,
|
|
"singleQuote": true
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"@babel/preset-env"
|
|
]
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.svelte$": "jest-transform-svelte",
|
|
"^.+\\.js$": "babel-jest"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"svelte"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^carbon-icons-svelte*": "<rootDir>src/internal/Icon.stub.svelte"
|
|
},
|
|
"setupFilesAfterEnv": [
|
|
"regenerator-runtime/runtime",
|
|
"@testing-library/jest-dom/extend-expect"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"**/bin-links": ">=1.1.6"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ibm/carbon-components-svelte.git"
|
|
},
|
|
"homepage": "https://github.com/ibm/carbon-components-svelte",
|
|
"keywords": [
|
|
"carbon",
|
|
"carbon components",
|
|
"svelte"
|
|
],
|
|
"files": [
|
|
"lib",
|
|
"src"
|
|
],
|
|
"bugs": "https://github.com/ibm/carbon-components-svelte/issues"
|
|
}
|