-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.49 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
{
"name": "netinfo",
"version": "0.1.3",
"main": "build",
"description": "Get network connection details of device in browser",
"repository": {
"type": "git",
"url": "https://github.com/ganapativs/netinfo.git"
},
"author": "Ganapati V S",
"license": "MIT",
"bugs": {
"url": "https://github.com/ganapativs/netinfo/issues"
},
"homepage": "https://github.com/ganapativs/netinfo",
"keywords": [
"netinfo",
"browser",
"internet-info",
"connection-speed",
"download-speed",
"connection-type"
],
"scripts": {
"mkdir": "mkdir -p build && mkdir -p minified",
"clean": "rm -rf build && rm -rf minified",
"uglify": "uglifyjs minified/index.js -o minified/index.js",
"browserify": "browserify ./build/index.js --standalone getNetInfo > ./minified/index.js",
"prebuild": "yarn run clean && yarn run mkdir",
"build": "babel --plugins 'transform-es2015-modules-umd' src --out-dir ./build",
"postbuild": "yarn run browserify && yarn run uglify",
"prepublish": "yarn run build",
"lint": "eslint ./src",
"lintfix": "eslint ./src --fix"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"browserify": "^14.5.0",
"eslint": "^4.9.0",
"eslint-plugin-babel": "^4.1.2",
"uglify-js": "^3.1.5"
}
}