forked from camwiegert/in-view
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
68 lines (68 loc) · 1.77 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
{
"name": "in-view",
"version": "0.6.1",
"description": "Get notified when a DOM element enters or exits the viewport.",
"repository": "https://github.com/camwiegert/in-view",
"main": "dist/in-view.min.js",
"scripts": {
"start": "NODE_ENV=production webpack -wp",
"build": "NODE_ENV=production webpack -p",
"prepublish": "npm run -s test",
"lint": "eslint src/**/*.js",
"pretest": "npm run -s lint",
"test": "ava -v",
"docs": "npm run -s docs-server & npm run -s docs-js & npm run -s docs-css",
"docs-server": "http-server ./docs -o",
"docs-js": "NODE_ENV=production webpack -wp --config ./docs/docs.webpack.config.js",
"docs-css": "node-sass -w --output-style=compressed ./docs/lib/css/main.scss ./docs/lib/css/main.min.css"
},
"ava": {
"files": [
"test/*js"
],
"require": [
"babel-register",
"./test/helpers/setup-browser-env.js"
],
"babel": "inherit"
},
"babel": {
"plugins": [
"lodash"
],
"presets": [
"es2015"
]
},
"eslintConfig": {
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
}
},
"author": "Cam Wiegert <[email protected]>",
"homepage": "https://camwiegert.github.io/in-view",
"license": "MIT",
"devDependencies": {
"ava": "^0.16.0",
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-plugin-lodash": "^3.2.8",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.11.6",
"eslint": "^3.3.1",
"http-server": "^0.9.0",
"jsdom": "^9.4.2",
"lodash-webpack-plugin": "^0.10.0",
"node-sass": "^3.8.0",
"webpack": "^1.13.2"
},
"dependencies": {
"lodash": "^4.15.0"
}
}