CB-12762 : point package.json repo items to github mirrors instead of apache repos site
This closes #37
diff --git a/.jshintignore b/.eslintignore
similarity index 100%
rename from .jshintignore
rename to .eslintignore
diff --git a/.eslintrc.yml b/.eslintrc.yml
new file mode 100644
index 0000000..0cccb8c
--- /dev/null
+++ b/.eslintrc.yml
@@ -0,0 +1,10 @@
+root: true
+extends: semistandard
+rules:
+ indent:
+ - error
+ - 4
+ camelcase: off
+ padded-blocks: off
+ operator-linebreak: off
+ no-throw-literal: off
\ No newline at end of file
diff --git a/.jshintrc b/.jshintrc
deleted file mode 100644
index 89a121c..0000000
--- a/.jshintrc
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "node": true
- , "bitwise": true
- , "undef": true
- , "trailing": true
- , "quotmark": true
- , "indent": 4
- , "unused": "vars"
- , "latedef": "nofunc"
-}
diff --git a/package.json b/package.json
index ea5b694..3ad74ce 100644
--- a/package.json
+++ b/package.json
@@ -49,4 +49,62 @@
"coffee-script": "^1.7.1",
"nodeunit": "^0.8.7"
}
-}
\ No newline at end of file
+}
+=======
+ "name": "cordova-osx",
+ "version": "4.1.0-dev",
+ "description": "cordova-osx release",
+ "main": "bin/templates/scripts/cordova/Api.js",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/apache/cordova-osx"
+ },
+ "keywords": [
+ "osx",
+ "cordova",
+ "apache",
+ "ecosystem:cordova",
+ "cordova:platform"
+ ],
+ "scripts": {
+ "test": "npm run eslint && npm run jasmine",
+ "jasmine": "npm run objc-tests && npm run jasmine-tests",
+ "objc-tests": "jasmine-node --captureExceptions --color tests/spec/cordovalib.spec.js",
+ "jasmine-tests": "jasmine-node --captureExceptions --color tests/spec/create.spec.js tests/spec/platform.spec.js",
+ "eslint": "node node_modules/eslint/bin/eslint bin && node node_modules/eslint/bin/eslint tests"
+ },
+ "author": "Apache Software Foundation",
+ "license": "Apache Version 2.0",
+ "dependencies": {
+ "cordova-common": "^1.0.0",
+ "nopt": "^3.0.6",
+ "q": "^1.4.1",
+ "shelljs": "^0.5.3",
+ "underscore": "^1.8.3",
+ "unorm": "^1.4.1",
+ "xcode": "^0.8.3"
+ },
+ "bundledDependencies": [
+ "cordova-common",
+ "nopt",
+ "q",
+ "underscore",
+ "unorm",
+ "xcode",
+ "shelljs"
+ ],
+ "devDependencies": {
+ "coffee-script": "^1.7.1",
+ "eslint": "^4.0.0",
+ "eslint-config-semistandard": "^11.0.0",
+ "eslint-config-standard": "^10.2.1",
+ "eslint-plugin-import": "^2.3.0",
+ "eslint-plugin-node": "^5.0.0",
+ "eslint-plugin-promise": "^3.5.0",
+ "eslint-plugin-standard": "^3.0.1",
+ "jasmine-node": "~1",
+ "nodeunit": "^0.8.7",
+ "tmp": "^0.0.26",
+ "uncrustify": "^0.6.1"
+ }
+}
diff --git a/tests/spec/.eslintrc.yml b/tests/spec/.eslintrc.yml
new file mode 100644
index 0000000..6afba65
--- /dev/null
+++ b/tests/spec/.eslintrc.yml
@@ -0,0 +1,2 @@
+env:
+ jasmine: true
\ No newline at end of file