scrollnav
Version:
A small, dependency free JavaScript plugin for auto generating single page navigation
70 lines (69 loc) • 1.88 kB
JSON
{
"name": "scrollnav",
"version": "3.0.2",
"title": "scrollnav",
"author": {
"name": "James Wilson",
"email": "jimmynotjim@me.com",
"url": "http://jimmynotjim.com"
},
"description": "A small, dependency free JavaScript plugin for auto generating single page navigation",
"keywords": [
"scrollnav",
"javascript",
"es6",
"jquery",
"navigation",
"scrolling",
"sticky nav",
"scrolling nav"
],
"homepage": "http://scrollnav.com",
"repository": {
"type": "git",
"url": "https://github.com/jimmynotjim/scrollnav.git"
},
"files": [
"dist"
],
"main": "dist/scrollnav.min.umd.js",
"bugs": "https://github.com/jimmynotjim/scrollnav/issues",
"license": "MIT",
"engines": {
"node": ">= 10.0.0"
},
"scripts": {
"build": "microbundle --compress false --name scrollnav",
"format": "npm-run-all format:*",
"format:source": "prettier --write 'src/**/*.js'",
"format:test": "prettier --write 'test/**/*.js' !/coverage",
"lint": "npm-run-all lint:*",
"lint:source": "eslint 'src/**/*.js'",
"lint:test": "eslint 'test/**/*.js'",
"precommit": "npm run format && npm run lint && npm run build",
"test": "jest --config .jestrc.json --no-cache",
"watch": "microbundle --watch"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.2.3",
"@jarmee/jest-dom-custom-matchers": "^1.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"eslint": "^5.10.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.1",
"jest": "^23.6.0",
"microbundle": "^0.9.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.15.3"
},
"source": "src/scrollnav.js",
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
}
}