You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/05/09 10:32:07 UTC
[incubator-annotator] 03/04: Sort package.json keys
This is an automated email from the ASF dual-hosted git repository.
randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 450fcbe632346acb49368a72ea771010750c40bd
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Thu May 9 03:30:03 2019 -0700
Sort package.json keys
---
package.json | 24 ++++++++++++------------
packages/dom/package.json | 12 ++++++------
packages/fragment-identifier/package.json | 12 ++++++------
packages/range/package.json | 12 ++++++------
packages/selector/package.json | 12 ++++++------
packages/text/package.json | 12 ++++++------
6 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/package.json b/package.json
index f8bdd1a..08d1917 100644
--- a/package.json
+++ b/package.json
@@ -3,12 +3,17 @@
"private": true,
"description": "Apache Annotator provides annotation enabling code for browsers, servers, and humans.",
"homepage": "https://annotator.apache.org",
- "license": "Apache-2.0",
- "author": "Apache Software Foundation",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
},
+ "license": "Apache-2.0",
+ "author": "Apache Software Foundation",
+ "workspaces": {
+ "packages": [
+ "packages/*"
+ ]
+ },
"scripts": {
"build": "yarn run build:cjs && yarn run build:esm",
"build:babel": "lerna exec --parallel -- babel --root-mode upward",
@@ -21,6 +26,11 @@
"test": "cross-env BABEL_ENV=test nyc mocha packages/*/test/**/*.js",
"validate": "cross-env BABEL_ENV=test nyc mocha test/**/*.js"
},
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ },
"devDependencies": {
"@babel/cli": "^7.4.0",
"@babel/core": "^7.4.0",
@@ -63,15 +73,5 @@
"engines": {
"node": ">=8.0.0",
"yarn": "^1.5.0"
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "workspaces": {
- "packages": [
- "packages/*"
- ]
}
}
diff --git a/packages/dom/package.json b/packages/dom/package.json
index 84a74b7..6f8ee32 100644
--- a/packages/dom/package.json
+++ b/packages/dom/package.json
@@ -3,22 +3,22 @@
"version": "0.0.0",
"description": "Utilities for annotation of the Document Object Model.",
"homepage": "https://annotator.apache.org",
- "license": "Apache-2.0",
- "author": "Apache Software Foundation",
- "main": "lib",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
},
+ "license": "Apache-2.0",
+ "author": "Apache Software Foundation",
+ "main": "lib",
"dependencies": {
"@babel/runtime-corejs3": "^7.4.0",
"core-js": "3",
"range-normalize": "^1.1.1"
},
- "publishConfig": {
- "access": "public"
- },
"engines": {
"node": ">=6.0.0"
+ },
+ "publishConfig": {
+ "access": "public"
}
}
diff --git a/packages/fragment-identifier/package.json b/packages/fragment-identifier/package.json
index b6a5fe4..5477207 100644
--- a/packages/fragment-identifier/package.json
+++ b/packages/fragment-identifier/package.json
@@ -3,13 +3,13 @@
"version": "0.0.0",
"description": "Convert to and from Web Annotation fragment identifiers.",
"homepage": "https://annotator.apache.org",
- "license": "Apache-2.0",
- "author": "Apache Software Foundation",
- "main": "lib",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
},
+ "license": "Apache-2.0",
+ "author": "Apache Software Foundation",
+ "main": "lib",
"scripts": {
"prepare": "pegjs --format es --output src/fragment.js src/fragment.pegjs"
},
@@ -20,10 +20,10 @@
"devDependencies": {
"pegjs": "^0.11.0-dev.273"
},
- "publishConfig": {
- "access": "public"
- },
"engines": {
"node": ">=6.0.0"
+ },
+ "publishConfig": {
+ "access": "public"
}
}
diff --git a/packages/range/package.json b/packages/range/package.json
index 3f438a6..923c71b 100644
--- a/packages/range/package.json
+++ b/packages/range/package.json
@@ -3,22 +3,22 @@
"version": "0.0.0",
"description": "Utilities for annotation.",
"homepage": "https://annotator.apache.org",
- "license": "Apache-2.0",
- "author": "Apache Software Foundation",
- "main": "lib",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
},
+ "license": "Apache-2.0",
+ "author": "Apache Software Foundation",
+ "main": "lib",
"dependencies": {
"@babel/runtime-corejs3": "^7.4.0",
"cartesian": "^1.0.1",
"core-js": "3"
},
- "publishConfig": {
- "access": "public"
- },
"engines": {
"node": ">=6.0.0"
+ },
+ "publishConfig": {
+ "access": "public"
}
}
diff --git a/packages/selector/package.json b/packages/selector/package.json
index 611d161..c13c977 100644
--- a/packages/selector/package.json
+++ b/packages/selector/package.json
@@ -3,21 +3,21 @@
"version": "0.0.0",
"description": "Web Annotation selector for engine.",
"homepage": "https://annotator.apache.org",
- "license": "Apache-2.0",
- "author": "Apache Software Foundation",
- "main": "lib",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
},
+ "license": "Apache-2.0",
+ "author": "Apache Software Foundation",
+ "main": "lib",
"dependencies": {
"@babel/runtime-corejs3": "^7.4.0",
"core-js": "3"
},
- "publishConfig": {
- "access": "public"
- },
"engines": {
"node": ">=6.0.0"
+ },
+ "publishConfig": {
+ "access": "public"
}
}
diff --git a/packages/text/package.json b/packages/text/package.json
index 708288f..dbee114 100644
--- a/packages/text/package.json
+++ b/packages/text/package.json
@@ -3,21 +3,21 @@
"version": "0.0.0",
"description": "Utilities for annotation of plain text documents.",
"homepage": "https://annotator.apache.org",
- "license": "Apache-2.0",
- "author": "Apache Software Foundation",
- "main": "lib",
"repository": {
"type": "git",
"url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
},
+ "license": "Apache-2.0",
+ "author": "Apache Software Foundation",
+ "main": "lib",
"dependencies": {
"@babel/runtime-corejs3": "^7.4.0",
"core-js": "3"
},
- "publishConfig": {
- "access": "public"
- },
"engines": {
"node": ">=6.0.0"
+ },
+ "publishConfig": {
+ "access": "public"
}
}