You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.2 KiB
85 lines
2.2 KiB
5 years ago
|
{
|
||
|
"name": "@trendyol/react-carousel",
|
||
|
"version": "1.0.0",
|
||
|
"description": "Lightweight carousel component for react",
|
||
|
"main": "dist/cjs/index.js",
|
||
|
"module": "dist/es/index.js",
|
||
|
"jsnext:main": "dist/es/index.js",
|
||
|
"types": "dist/types/index.d.ts",
|
||
|
"homepage": "https://trendyol.github.io/react-carousel",
|
||
|
"repository": "github:Trendyol/carousel",
|
||
|
"bugs": "https://github.com/Trendyol/react-carousel/issues",
|
||
|
"scripts": {
|
||
|
"build": "rollup -c --environment BUILD:production",
|
||
|
"dev": "rollup -c -w --environment BUILD:development",
|
||
|
"publish": "npm publish",
|
||
|
"fmt": "prettier --write 'src/**/*.{ts,tsx,css}' *.{js,json,md} && npm run lint:fix",
|
||
|
"lint": "tslint -t verbose -c tslint.json 'src/**/*.{ts,tsx}'",
|
||
|
"lint:fix": "tslint -t verbose -c tslint.json --fix 'src/**/*.{ts,tsx}'",
|
||
|
"lint:staged": "pretty-quick --staged && lint-staged",
|
||
|
"test": "jest",
|
||
|
"security": "npm audit"
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.{ts,tsx}": "npm run fmt"
|
||
|
},
|
||
|
"husky": {
|
||
|
"hooks": {
|
||
|
"pre-commit": "npm lint:staged",
|
||
|
"pre-push": "npm test"
|
||
|
}
|
||
|
},
|
||
|
"keywords": [
|
||
|
"carousel",
|
||
|
"react",
|
||
|
"slider"
|
||
|
],
|
||
|
"authors": [
|
||
|
"Hasan Genc <hasan.genc@trendyol.com> (https://github.com/hasangenc0)"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"peerDependencies": {
|
||
|
"react": "^16.13.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@rollup/plugin-replace": "^2.3.1",
|
||
|
"@testing-library/jest-dom": "^5.3.0",
|
||
|
"@testing-library/react": "^10.0.2",
|
||
|
"@types/jest": "^25.2.1",
|
||
|
"@types/react": "^16.9.26",
|
||
|
"autoprefixer": "^9.7.5",
|
||
|
"eslint": "^6.8.0",
|
||
|
"husky": "^4.2.3",
|
||
|
"jest": "^25.2.7",
|
||
|
"jest-transform-css": "^2.0.0",
|
||
|
"lint-staged": "^10.0.9",
|
||
|
"prettier": "^2.0.2",
|
||
|
"pretty-quick": "^2.0.1",
|
||
|
"react": "^16.13.1",
|
||
|
"react-dom": "^16.13.1",
|
||
|
"rollup": "^2.3.3",
|
||
|
"rollup-plugin-peer-deps-external": "^2.2.2",
|
||
|
"rollup-plugin-postcss-modules": "^2.0.1",
|
||
|
"rollup-plugin-terser": "^5.3.0",
|
||
|
"rollup-plugin-typescript2": "^0.27.0",
|
||
|
"ts-jest": "^25.3.1",
|
||
|
"tslint": "^6.1.0",
|
||
|
"tslint-plugin-prettier": "^2.3.0",
|
||
|
"tslint-react-hooks": "^2.2.2",
|
||
|
"typescript": "^3.8.3"
|
||
|
},
|
||
|
"sideEffects": false,
|
||
|
"browserslist": {
|
||
|
"production": [
|
||
|
">0.2%",
|
||
|
"not dead",
|
||
|
"not op_mini all"
|
||
|
],
|
||
|
"development": [
|
||
|
"last 1 chrome version",
|
||
|
"last 1 firefox version",
|
||
|
"last 1 safari version"
|
||
|
]
|
||
|
}
|
||
|
}
|