repinned
Version:
Primitive to build simple and flexible sticky-on-scroll components
74 lines (73 loc) • 2.33 kB
JSON
{
"name": "repinned",
"version": "1.0.0",
"description": "Primitive to build simple and flexible sticky-on-scroll components",
"author": "donysukardi",
"license": "MIT",
"repository": "donysukardi/repinned",
"main": "dist/repinned.cjs.js",
"module": "dist/repinned.esm.js",
"jsnext:main": "dist/repinned.esm.js",
"scripts": {
"add-contributor": "kcd-scripts contributors add",
"lint": "kcd-scripts lint",
"build": "kcd-scripts build --bundle --p-react --no-clean",
"test": "kcd-scripts test",
"test:cover": "kcd-scripts test --coverage",
"test:build": "kcd-scripts test --config other/misc-tests/jest.config.js --no-watch",
"start": "npm run build --watch",
"precommit": "kcd-scripts precommit",
"format": "kcd-scripts format",
"build-and-test": "npm run build -s && npm run test:build -s",
"validate": "kcd-scripts validate lint,build-and-test,test:cover,test:cypress",
"docs": "cd docs && PORT=9001 `npm bin`/docz dev",
"docs:build": "cd docs && `npm bin`/docz build",
"docs:serve": "pushstate-server ./docs/.docz/dist 9001",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"pretest:cypress": "npm link && cd docs && npm link repinned && cd .. && npm run docs:build",
"test:cypress": "start-server-and-test docs:serve http://localhost:9001 cypress:run",
"test:cypress:dev": "npm-run-all --parallel --race docs cypress:open"
},
"dependencies": {
"raf": "^3.4.0",
"shallowequal": "^1.0.2"
},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"@donysukardi/reactlib-scripts": "^2.0.0",
"cypress": "^3.0.1",
"eslint-config-dsds": "^1.1.3",
"npm-run-all": "^4.1.3",
"preact": "^8.2.9",
"preact-render-to-string": "^3.7.0",
"prop-types": "^15.6.2",
"pushstate-server": "^3.0.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-testing-library": "^4.0.1",
"start-server-and-test": "^1.4.1"
},
"files": [
"dist",
"preact"
],
"eslintConfig": {
"extends": [
"eslint-config-dsds",
"eslint-config-dsds/jest"
]
},
"eslintIgnore": [
"docs",
"node_modules",
"coverage",
"cypress",
"dist",
"preact"
]
}