dbpedia-entity-lookup
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -1,1 +0,85 @@ | ||
{"name":"dbpedia-entity-lookup","version":"0.1.0","description":"Find entities (people, places, organizations, titles) in dbpedia.","main":"src/index.js","repository":{"type":"git","url":"https://github.com/cwrc/dbpedia-entity-lookup.git"},"keywords":["dbpedia","entity","linked-data"],"author":"James Chartrand","license":"GPL-3.0","bugs":{"url":"https://github.com/cwrc/dbpedia-entity-lookup/issues"},"homepage":"https://github.com/cwrc/dbpedia-entity-lookup#readme","scripts":{"semantic-release":"semantic-release pre && npm publish && semantic-release post","cm":"git-cz","precommit":"npm run test && npm run check-coverage","browserify":"mkdirp build && browserify test/development.js -o build/development.js --debug -t [ babelify --presets [ es2015 ] ]","watch":"mkdirp build && watchify test/development.js -o build/development.js --debug --verbose -t [ babelify --presets [ es2015 ] ]","test":"mkdirp coverage && npm run test:electron && npm run generate-coverage","test:browser":"cross-env NODE_ENV=test browserify test/browser.js | browser-run -p 2222 --static . | node test/extract-coverage.js | faucet","test:electron":"cross-env NODE_ENV=test browserify test/browser.js | browser-run --static . | node test/extract-coverage.js | faucet ","test:chrome":"cross-env NODE_ENV=test browserify test/browser.js | browser-run --static . -b chrome | node test/extract-coverage.js | faucet ","generate-coverage":"istanbul report --root coverage lcov","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov"},"devDependencies":{"babel-plugin-istanbul":"4.1.5","babel-preset-es2015":"6.24.1","babelify":"7.3.0","browser-run":"^4.1.1","browserify":"14.3.0","codecov.io":"0.1.6","commitizen":"2.9.6","concat-stream":"1.6.0","cross-env":"5.0.5","cz-conventional-changelog":"2.0.0","faucet":"0.0.1","fetch-mock":"5.12.2","husky":"0.13.3","istanbul":"0.4.5","mkdirp":"0.5.1","semantic-release":"^8.2.0","sinon":"4.0.1","tape":"4.6.3","tape-promise":"2.0.1","watch":"1.0.2","watchify":"3.9.0"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"dependencies":{},"browserify":{"transform":[["babelify",{"presets":["es2015"],"env":{"test":{"plugins":["istanbul"]}}}]]}} | ||
{ | ||
"name": "dbpedia-entity-lookup", | ||
"version": "0.2.0", | ||
"description": "Find entities (people, places, organizations, titles) in dbpedia.", | ||
"main": "src/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cwrc/dbpedia-entity-lookup.git" | ||
}, | ||
"keywords": [ | ||
"dbpedia", | ||
"entity", | ||
"linked-data" | ||
], | ||
"author": "James Chartrand", | ||
"license": "GPL-3.0", | ||
"bugs": { | ||
"url": "https://github.com/cwrc/dbpedia-entity-lookup/issues" | ||
}, | ||
"homepage": "https://github.com/cwrc/dbpedia-entity-lookup#readme", | ||
"scripts": { | ||
"semantic-release": "semantic-release && npm publish && semantic-release post", | ||
"cm": "git-cz", | ||
"precommit": "npm run test && npm run check-coverage", | ||
"browserify": "mkdirp build && browserify test/development.js -o build/development.js --debug -t [ babelify --presets [ es2015 ] ]", | ||
"watch": "mkdirp build && watchify test/development.js -o build/development.js --debug --verbose -t [ babelify --presets [ es2015 ] ]", | ||
"test": "mkdirp coverage && npm run test:electron && npm run generate-coverage", | ||
"test:browser": "cross-env NODE_ENV=test browserify test/browser.js | browser-run -p 2222 --static . | node test/extract-coverage.js | faucet", | ||
"test:electron": "cross-env NODE_ENV=test browserify test/browser.js | browser-run --static . | node test/extract-coverage.js | faucet ", | ||
"test:chrome": "cross-env NODE_ENV=test browserify test/browser.js | browser-run --static . -b chrome | node test/extract-coverage.js | faucet ", | ||
"generate-coverage": "istanbul report --root coverage lcov", | ||
"check-coverage": "istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100", | ||
"report-coverage": "cat ./coverage/lcov.info | codecov", | ||
"travis-deploy-once": "travis-deploy-once" | ||
}, | ||
"devDependencies": { | ||
"babel-plugin-istanbul": "4.1.5", | ||
"babel-preset-es2015": "6.24.1", | ||
"babelify": "7.3.0", | ||
"browser-run": "^4.1.1", | ||
"browserify": "14.3.0", | ||
"codecov.io": "0.1.6", | ||
"commitizen": "2.9.6", | ||
"concat-stream": "1.6.0", | ||
"cross-env": "5.0.5", | ||
"cz-conventional-changelog": "2.0.0", | ||
"faucet": "0.0.1", | ||
"fetch-mock": "5.12.2", | ||
"husky": "0.13.3", | ||
"istanbul": "0.4.5", | ||
"mkdirp": "0.5.1", | ||
"semantic-release": "^12.4.1", | ||
"sinon": "4.0.1", | ||
"tape": "4.6.3", | ||
"tape-promise": "2.0.1", | ||
"watch": "1.0.2", | ||
"watchify": "3.9.0", | ||
"travis-deploy-once": "^4.3.4" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"dependencies": {}, | ||
"browserify": { | ||
"transform": [ | ||
[ | ||
"babelify", | ||
{ | ||
"presets": [ | ||
"es2015" | ||
], | ||
"env": { | ||
"test": { | ||
"plugins": [ | ||
"istanbul" | ||
] | ||
} | ||
} | ||
} | ||
] | ||
] | ||
} | ||
} |
@@ -113,2 +113,4 @@ ![Picture](http://cwrc.ca/logos/CWRC_logos_2016_versions/CWRCLogo-Horz-FullColour.png) | ||
uri: "http://dbpedia.org/resource/Paris" | ||
uriForDisplay: "https://lookup.services.cwrc.ca/dbpediafull/resource/Paris" | ||
@@ -115,0 +117,0 @@ } |
@@ -75,3 +75,12 @@ 'use strict'; | ||
}) => { | ||
return {nameType: queryClass, id: uri, uri, name, repository: 'dbpedia', originalQueryString: queryString, description} | ||
return { | ||
nameType: queryClass, | ||
id: uri, | ||
uri, | ||
uriForDisplay: uri.replace('http://dbpedia.org', 'https://lookup.services.cwrc.ca/dbpediafull'), | ||
name, | ||
repository: 'dbpedia', | ||
originalQueryString: queryString, | ||
description | ||
} | ||
}) | ||
@@ -78,0 +87,0 @@ }) |
@@ -89,2 +89,3 @@ 'use strict'; | ||
uri: '', | ||
uriForDisplay: '', | ||
name: '', | ||
@@ -105,2 +106,3 @@ repository: '', | ||
uri: '', | ||
uriForDisplay: '', | ||
name: '', | ||
@@ -107,0 +109,0 @@ repository: '', |
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
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
79192
822
179
22