Initial commit
parents
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
Dockerfile
0 → 100644
Readme.md
0 → 100644
examlpe/index.html
0 → 100644
examlpe/widget-template.mst
0 → 100644
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | ||
"name": "geolinker-widget", | ||
"version": "1.0.0", | ||
"description": "Plugin to display structured content from histhub geolinker", | ||
"dependencies": { | ||
"@types/jquery": "^3.3.10", | ||
"@types/mustache": "^0.8.31", | ||
"jquery": "^3.3.1", | ||
"mustache": "^3.0.0", | ||
"nconf": "^0.10.0", | ||
"url-parse": "^1.4.3" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.1.6", | ||
"@types/mocha": "^5.2.5", | ||
"@types/node": "^10.11.4", | ||
"@types/sinon": "^5.0.3", | ||
"chai": "^4.2.0", | ||
"concurrently": "^3.5.1", | ||
"jsdom": "^12.1.0", | ||
"mocha": "^5.2.0", | ||
"mock-require": "^3.0.2", | ||
"sinon": "^6.3.5", | ||
"source-map-support": "^0.5.6", | ||
"ts-loader": "^5.2.1", | ||
"ts-node": "^7.0.1", | ||
"tslint": "^5.10.0", | ||
"typescript": "^2.9.2", | ||
"webpack": "^4.20.2", | ||
"webpack-cli": "^3.1.2", | ||
"webpack-merge": "^4.2.1" | ||
}, | ||
"scripts": { | ||
"test": "node_modules/.bin/mocha -r ts-node/register tests/**/*.spec.ts", | ||
"lint": "node_modules/.bin/tslint -c tslint.json 'src/**/*.ts'", | ||
"build": "node_modules/.bin/tsc", | ||
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"", | ||
"watch-node": "nodemon dist/linker-consumer.js", | ||
"watch-ts": "tsc -w", | ||
"start": "npx webpack --config webpack.config.js", | ||
"bundle": "npx webpack --config webpack.prod.js" | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
} |
src/client.ts
0 → 100644
src/index.ts
0 → 100644
src/providers.ts
0 → 100644
src/view.ts
0 → 100644
src/widget.ts
0 → 100644
tsconfig.json
0 → 100644
tslint.json
0 → 100644
webpack.config.js
0 → 100644
webpack.prod.js
0 → 100644
Please register or sign in to comment