mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-02-24 00:52:50 +08:00
added npm test, and jshinting
This commit is contained in:
parent
216b99f432
commit
622cd2f2d4
@ -6,6 +6,10 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/gbenvenuti/cordova-plugin-screen-orientation.git"
|
"url": "git+https://github.com/gbenvenuti/cordova-plugin-screen-orientation.git"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"test": "npm run jshint",
|
||||||
|
"jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint demo/www"
|
||||||
|
},
|
||||||
"cordova": {
|
"cordova": {
|
||||||
"id": "cordova-plugin-screen-orientation",
|
"id": "cordova-plugin-screen-orientation",
|
||||||
"platforms": [
|
"platforms": [
|
||||||
@ -28,5 +32,8 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues"
|
"url": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation#readme"
|
"homepage": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation#readme",
|
||||||
|
"devDependencies": {
|
||||||
|
"jshint": "^2.9.4"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user