1 | {
|
2 | "name": "scrollnav",
|
3 | "version": "3.0.1",
|
4 | "title": "scrollnav",
|
5 | "author": {
|
6 | "name": "James Wilson",
|
7 | "email": "jimmynotjim@me.com",
|
8 | "url": "http://jimmynotjim.com"
|
9 | },
|
10 | "description": "A small, dependency free JavaScript plugin for auto generating single page navigation",
|
11 | "keywords": [
|
12 | "scrollnav",
|
13 | "javascript",
|
14 | "es6",
|
15 | "jquery",
|
16 | "navigation",
|
17 | "scrolling",
|
18 | "sticky nav",
|
19 | "scrolling nav"
|
20 | ],
|
21 | "homepage": "http://scrollnav.com",
|
22 | "repository": {
|
23 | "type": "git",
|
24 | "url": "https://github.com/jimmynotjim/scrollnav.git"
|
25 | },
|
26 | "files": [
|
27 | "dist"
|
28 | ],
|
29 | "main": "dist/scrollnav.min.umd.js",
|
30 | "bugs": "https://github.com/jimmynotjim/scrollnav/issues",
|
31 | "license": "MIT",
|
32 | "engines": {
|
33 | "node": ">= 10.0.0"
|
34 | },
|
35 | "scripts": {
|
36 | "build": "microbundle --compress false --name scrollnav",
|
37 | "format": "npm-run-all format:*",
|
38 | "format:source": "prettier --write 'src/**/*.js'",
|
39 | "format:test": "prettier --write 'test/**/*.js' !/coverage",
|
40 | "lint": "npm-run-all lint:*",
|
41 | "lint:source": "eslint 'src/**/*.js'",
|
42 | "lint:test": "eslint 'test/**/*.js'",
|
43 | "precommit": "npm run format && npm run lint && npm run build",
|
44 | "test": "jest --config .jestrc.json --no-cache",
|
45 | "watch": "microbundle --watch"
|
46 | },
|
47 | "devDependencies": {
|
48 | "@babel/core": "^7.2.2",
|
49 | "@babel/polyfill": "^7.2.5",
|
50 | "@babel/preset-env": "^7.2.3",
|
51 | "@jarmee/jest-dom-custom-matchers": "^1.0.0",
|
52 | "babel-core": "^7.0.0-bridge.0",
|
53 | "babel-jest": "^23.6.0",
|
54 | "eslint": "^5.10.0",
|
55 | "eslint-config-prettier": "^3.3.0",
|
56 | "eslint-plugin-prettier": "^3.0.0",
|
57 | "husky": "^1.2.1",
|
58 | "jest": "^23.6.0",
|
59 | "microbundle": "^0.9.0",
|
60 | "npm-run-all": "^4.1.5",
|
61 | "prettier": "^1.15.3"
|
62 | },
|
63 | "source": "src/scrollnav.js",
|
64 | "husky": {
|
65 | "hooks": {
|
66 | "pre-commit": "npm run precommit"
|
67 | }
|
68 | }
|
69 | }
|