dub-step
Version:
A set of primitives for building step/index based UI widgets controlled by swipe, timers, and/or buttons.
117 lines (116 loc) • 3.33 kB
JSON
{
"name": "dub-step",
"version": "0.0.7",
"description": "A set of primitives for building step/index based UI widgets controlled by swipe, timers, and/or buttons.",
"main": "dist/dub-step.js",
"repository": "git@github.com:infiniteluke/dub-step.git",
"keywords": [
"enhanced input",
"react",
"carousel",
"swipe",
"slideshow",
"index",
"step",
"accessibility",
"WAI-ARIA",
"function as child",
"prop getter"
],
"author": {
"name": "Luke Herrington",
"email": "lherrington100@gmail.com"
},
"license": "MIT",
"scripts": {
"test": "jest --coverage",
"test:watch": "BABEL_ENV=test jest --watch --coverage",
"test:ci": "jest --coverage && cat ./__coverage__/lcov.info | coveralls && npm run size",
"size": "size-limit",
"start": "BABEL_ENV=development webpack --watch",
"build": "BABEL_ENV=production webpack",
"prettier": "prettier --write \"src/**/*.js\"",
"lint": "eslint src --ignore-path .gitignore --ignore-pattern docs .",
"documentation": "BABEL_ENV=development documentation build src/** -f html -o docs",
"prepublish": "npm run build",
"precommit": "lint-staged && npm run lint && npm run test && npm run documentation && git add docs && emdaer && git add *.md && git add .emdaer/.offline"
},
"peerDependencies": {
"prop-types": ">=15",
"react": ">=15"
},
"devDependencies": {
"@emdaer/cli": "^1.2.2",
"@emdaer/core": "^1.2.2",
"@emdaer/plugin-contributors-details-github": "^1.2.1",
"@emdaer/plugin-import": "^1.2.2",
"@emdaer/plugin-license-reference": "^1.2.1",
"@emdaer/plugin-shields": "^1.2.1",
"@emdaer/plugin-value-from-package": "^1.2.1",
"@emdaer/transform-table-of-contents": "^1.3.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-loader": "^7.1.2",
"babel-preset-react-app": "^3.0.2",
"coveralls": "^2.13.1",
"documentation": "^5.3.2",
"enzyme": "^3.0.0",
"enzyme-adapter-react-15": "^1.0.0",
"enzyme-to-json": "^3.0.1",
"eslint": "^4.7.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.5.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.1.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.3.0",
"husky": "^0.14.3",
"jest": "^21.1.0",
"lint-staged": "^4.2.1",
"prettier": "^1.7.0",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"size-limit": "^0.11.4",
"webpack": "^3.6.0"
},
"size-limit": [
{
"path": "dist/dub-step.js",
"limit": "7 KB"
}
],
"jest": {
"coverageDirectory": "__coverage__",
"coverageThreshold": {
"global": {
"branches": 10,
"functions": 10,
"lines": 10,
"statements": 10
}
},
"testMatch": [
"<rootDir>/__tests__/**/*.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/testSetup.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/testSetup.js"
],
"clearMocks": true
},
"lint-staged": {
"**/*.js": [
"prettier --write",
"git add"
]
}
}