-
Notifications
You must be signed in to change notification settings - Fork 340
/
package.json
72 lines (72 loc) · 1.74 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
{
"title": "smoothscroll",
"name": "smoothscroll-polyfill",
"description": "Smooth Scroll behavior polyfill",
"version": "0.4.4",
"author": {
"name": "Dustan Kasten",
"email": "[email protected]",
"url": "https://iamdustan.com"
},
"contributors": [
{
"name": "Jeremias Menichelli",
"email": "[email protected]",
"url": "https://jeremenichelli.io"
}
],
"dependencies": {},
"devDependencies": {
"ava": "^0.25.0",
"eslint": "^4.7.1",
"husky": "^0.14.3",
"lint-staged": "^6.0.1",
"lodash.clonedeep": "^4.5.0",
"prettier": "^1.10.2",
"rollup": "^0.50.0",
"uglify-js": "^3.1.1"
},
"main": "dist/smoothscroll.js",
"files": [
"dist"
],
"scripts": {
"lint": "eslint {src,test}/**/*.js",
"test": "ava test/smoothscroll.test.js --verbose",
"posttest": "yarn lint",
"precommit": "lint-staged",
"prebuild": "npm test",
"build": "rollup -c rollup.config.js",
"preminify": "yarn build",
"minify": "uglifyjs dist/smoothscroll.js -c -m -o dist/smoothscroll.min.js --verbose",
"listdiff": "prettier --list-different {src,test}/**/*.js",
"format": "prettier --write {src,test}/**/*.js",
"prepublish": "npm run minify"
},
"lint-staged": {
"linters": {
"{src,test}/**/*.js": [
"prettier --list-different",
"git add"
]
}
},
"prettier": {
"singleQuote": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/iamdustan/smoothscroll.git"
},
"keywords": [
"smooth",
"scroll",
"CSSOM",
"polyfill"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/iamdustan/smoothscroll/issues"
},
"homepage": "https://iamdustan.com/smoothscroll"
}