forked from dollarshaveclub/stickybits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.52 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "stickybits",
"version": "3.1.1",
"description": "Stickybits is a lightweight alternative to `position: sticky` polyfills",
"main": "dist/stickybits.js",
"module": "dist/stickybits.es.js",
"scripts": {
"build": "npm run test:unit && npm run build:es && npm run build:jquery-dev && npm run build:jquery && npm run build:standard-dev && npm run build:standard && npm run build:umbrella",
"build:es": "rollup --config configs/rollup.config.es.js",
"build:jquery-dev": "rollup --config configs/rollup.config.jquery-dev.js",
"build:jquery": "rollup --config configs/rollup.config.jquery.js",
"build:standard-dev": "rollup --config configs/rollup.config.standard-dev.js",
"build:standard": "rollup --config configs/rollup.config.standard.js",
"build:umbrella": "rollup --config configs/rollup.config.umbrella.js",
"lint": "eslint . --fix",
"chore:delete-branch": "if git show-ref --quiet refs/heads/chore-changelog; then git branch -D chore-changelog; fi",
"chore:branch": "git checkout -b chore-changelog",
"chore:changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0",
"chore:pr": "git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f",
"chore": "npm run chore:delete-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr",
"pre-commit-msg": "Echo 'Running pre-commit checks...' && exit 0",
"postpublish": "git tag $npm_package_version && git push origin --tags && npm run chore",
"release": "npm run lint && npm run build && npm test && npm run report:coverage",
"report:coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"test:es-check": "es-check es5 dist/stickybits.min.js dist/stickybits.js dist/jquery.stickybits.js dist/jquery.stickybits.min.js dist/umbrella.stickybits.js dist/umbrella.stickybits.min.js",
"test:unit": "nyc jest --coverage",
"test:acceptance": "node ./scripts/acceptance.js --coverage",
"test": "npm run test:unit && npm run test:acceptance"
},
"jest": {
"testRegex": "./tests/unit/.*.js$"
},
"pre-commit": {
"run": [
"pre-commit-msg",
"lint",
"test"
]
},
"bugs": {
"url": "https://github.com/dollarshaveclub/stickybits/issues"
},
"homepage": "https://github.com/dollarshaveclub/stickybits#readme",
"repository": {
"url": "https://github.com/dollarshaveclub/stickybits.git",
"type": "git"
},
"author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in)",
"license": "MIT",
"files": [
"dist",
"src"
],
"devDependencies": {
"@babel/core": "^7.0.0-beta.40",
"@babel/preset-env": "^7.0.0-beta.40",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^22.4.1",
"codecov": "^3.0.0",
"conventional-changelog-cli": "^1.3.15",
"debug": "^3.0.0",
"es-check": "^2.0.0",
"eslint": "^4.18.1",
"eslint-config-dollarshaveclub": "^3.0.5",
"jest": "^22.0.0",
"jquery": "^3.2.1",
"node-qunit-phantomjs": "^2.0.0",
"nyc": "^11.2.1",
"pre-commit": "^1.2.2",
"qunit": "^2.4.1",
"rollup": "0.56.3",
"rollup-plugin-babel": "^4.0.0-beta.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^3.0.0"
},
"keywords": [
"stick",
"fixed",
"sticky",
"position",
"navigation",
"nav",
"dom",
"simple",
"javascript",
"stuck",
"waypoint",
"scroll",
"stickyheader",
"stickynavigation",
"fixedheader"
],
"browserslist": [
"defaults",
"ie >= 9"
]
}