Comparing version 2.4.5 to 2.5.0
{ | ||
"name": "detector", | ||
"version": "2.4.5", | ||
"version": "2.5.0", | ||
"description": "The module for detect client-side information.", | ||
@@ -11,2 +11,3 @@ "homepage": "http://spmjs.io/docs/detector/", | ||
"main": "./lib/node-detector.js", | ||
"browser": "./web/web-detector.js", | ||
"bin": { | ||
@@ -16,3 +17,5 @@ "detector": "./bin/detector" | ||
"scripts": { | ||
"test": "make test" | ||
"test": "make test", | ||
"build": "rm -rf web/* && babel ./lib --out-dir ./web/ --ignore node-detector.js && rm ./web/rules.js", | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -29,2 +32,10 @@ "keywords": [ | ||
], | ||
"files": [ | ||
"lib", | ||
"bin", | ||
"web", | ||
"package.json", | ||
"README.md", | ||
"README-zh_CN.md" | ||
], | ||
"repository": { | ||
@@ -49,2 +60,11 @@ "type": "git", | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"es2015", | ||
"stage-0" | ||
], | ||
"plugins": [ | ||
"add-module-exports" | ||
] | ||
}, | ||
"dependencies": { | ||
@@ -55,2 +75,6 @@ "colors": "0.6.2", | ||
"devDependencies": { | ||
"babel-cli": "^6.10.1", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"eslint": "~1.4.3", | ||
@@ -61,4 +85,3 @@ "expect.js": "0.3.1", | ||
"spm": "~3.6.12" | ||
}, | ||
"browser": "./web-detector.js" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71131
9
13
1447
1