-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.91 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
{
"name": "@swgrhck/scroll-monitor",
"version": "0.6.0",
"description": "This is a JavaScript plugin that monitors and responds to scroll event, and supports the usage via data attributes to separate html from script.",
"module": "dist/bundle/scroll-monitor.esm.js",
"browser": "dist/bundle/scroll-monitor.umd.js",
"scripts": {
"test": "npm-run-all js-dist js-test",
"js-test": "npm-run-all --parallel js-test-karma*",
"js-test-karma": "karma start test/karma.conf.js",
"js-test-karma-bundle": "karma start test/karma-bundle.conf.js",
"js-test-cloud": "karma start test/karma-cloud.conf.js",
"js-dist": "npm-run-all js-lint js-compile js-minify",
"js-lint": "eslint src test build",
"js-compile": "npm-run-all --parallel js-compile-*",
"js-compile-standalone": "babel src/ --out-dir dist/ --source-maps --ignore src/index.js",
"js-compile-coverage": "cross-env COVERAGE=true babel src/ --out-dir coverage/dist/ --source-maps --ignore src/index.js",
"js-compile-bundle": "cross-env BUNDLE=true rollup --config build/rollup.config.js",
"js-minify": "node build/minify.js",
"js-zip": "cd dist/ && zip -r9 scroll-monitor-$npm_package_version-dist.zip *",
"publish-coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"files": [
"src/!(.babelrc).js",
"dist/",
"assert/",
"readme.zh-CN.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/swgrhck/scroll-monitor.git"
},
"keywords": [
"javascript",
"scroll"
],
"author": "Chakwen Hong <[email protected]> (https://swgrhck.github.io/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/swgrhck/scroll-monitor/issues"
},
"homepage": "https://github.com/swgrhck/scroll-monitor",
"publishConfig": {
"access": "public"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.47",
"@babel/core": "^7.0.0-beta.47",
"@babel/preset-env": "^7.0.0-beta.47",
"babel-eslint": "^8.2.3",
"babel-plugin-istanbul": "^4.1.6",
"babel-plugin-transform-es2015-modules-strip": "^0.1.1",
"chai": "^4.1.2",
"coveralls": "^3.0.1",
"cross-env": "^5.1.4",
"eslint": "^4.19.1",
"glob": "^7.1.2",
"karma": "^2.0.2",
"karma-browserstack-launcher": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage-istanbul-reporter": "^1.4.2",
"karma-detect-browsers": "^2.3.2",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-sinon": "^1.0.5",
"mocha": "^5.1.1",
"npm-run-all": "^4.1.2",
"rollup": "^0.58.2",
"rollup-plugin-babel": "^4.0.0-beta.4",
"sinon": "^5.0.3",
"uglify-js": "^3.3.25"
},
"browserslist": [
"last 1 major version",
">= 1%",
"Chrome >= 45",
"Firefox >= 38",
"Edge >= 12",
"ie >= 10",
"iOS >= 9",
"Safari >= 9",
"Android >= 4.4",
"Opera >= 30"
]
}