@bridgeline-digital/hawksearch-handlebars-ui 1.0.0-beta.8 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +63 -63
- package/readme.md +37 -0
package/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bridgeline-digital/hawksearch-handlebars-ui",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "",
|
|
5
|
-
"private": false,
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "npm run gulp && webpack",
|
|
11
|
-
"build:prod": "npm run gulp && webpack --mode=production",
|
|
12
|
-
"eslint": "eslint . --ext .ts --max-warnings=0 --fix",
|
|
13
|
-
"gulp": "gulp build",
|
|
14
|
-
"gulp:svg": "gulp svg",
|
|
15
|
-
"lint": "npm run eslint && npm run prettier",
|
|
16
|
-
"prepare": "husky install",
|
|
17
|
-
"prettier": "prettier --write .",
|
|
18
|
-
"publish": "npm run version && npm run build && npm publish",
|
|
19
|
-
"serve": "webpack serve --open",
|
|
20
|
-
"version": "npm version patch",
|
|
21
|
-
"watch": "webpack --watch"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [],
|
|
24
|
-
"author": "",
|
|
25
|
-
"license": "ISC",
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
|
|
28
|
-
"@types/lodash": "^4.14.182",
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
30
|
-
"css-loader": "^6.7.1",
|
|
31
|
-
"del": "^6.1.1",
|
|
32
|
-
"eslint": "^8.18.0",
|
|
33
|
-
"eslint-config-prettier": "^8.5.0",
|
|
34
|
-
"gulp": "^4.0.2",
|
|
35
|
-
"gulp-cheerio": "^1.0.0",
|
|
36
|
-
"gulp-rename": "^2.0.0",
|
|
37
|
-
"gulp-svgmin": "^4.1.0",
|
|
38
|
-
"gulp-svgstore": "^9.0.0",
|
|
39
|
-
"html-loader": "^4.1.0",
|
|
40
|
-
"html-webpack-plugin": "^5.5.0",
|
|
41
|
-
"husky": "^8.0.1",
|
|
42
|
-
"lint-staged": "^13.0.3",
|
|
43
|
-
"prettier": "^2.7.1",
|
|
44
|
-
"raw-loader": "^4.0.2",
|
|
45
|
-
"sass": "^1.52.1",
|
|
46
|
-
"sass-loader": "^13.0.0",
|
|
47
|
-
"style-loader": "^3.3.1",
|
|
48
|
-
"ts-loader": "^9.2.8",
|
|
49
|
-
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
50
|
-
"typescript": "^4.6.3",
|
|
51
|
-
"webpack": "^5.72.0",
|
|
52
|
-
"webpack-cli": "^4.9.2",
|
|
53
|
-
"webpack-dev-server": "^4.8.1"
|
|
54
|
-
},
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"handlebars": "^4.7.7",
|
|
57
|
-
"lodash": "^4.17.21"
|
|
58
|
-
},
|
|
59
|
-
"files": [
|
|
60
|
-
"dist/**"
|
|
61
|
-
],
|
|
62
|
-
"main": "dist/hawksearch-ui.js"
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bridgeline-digital/hawksearch-handlebars-ui",
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
|
+
"description": "",
|
|
5
|
+
"private": false,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "npm run gulp && webpack",
|
|
11
|
+
"build:prod": "npm run gulp && webpack --mode=production",
|
|
12
|
+
"eslint": "eslint . --ext .ts --max-warnings=0 --fix",
|
|
13
|
+
"gulp": "gulp build",
|
|
14
|
+
"gulp:svg": "gulp svg",
|
|
15
|
+
"lint": "npm run eslint && npm run prettier",
|
|
16
|
+
"prepare": "husky install",
|
|
17
|
+
"prettier": "prettier --write .",
|
|
18
|
+
"publish": "npm run version && npm run build:prod && npm publish",
|
|
19
|
+
"serve": "webpack serve --open",
|
|
20
|
+
"version": "npm version patch",
|
|
21
|
+
"watch": "webpack --watch"
|
|
22
|
+
},
|
|
23
|
+
"keywords": ["hawksearch"],
|
|
24
|
+
"author": "",
|
|
25
|
+
"license": "ISC",
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
|
|
28
|
+
"@types/lodash": "^4.14.182",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
30
|
+
"css-loader": "^6.7.1",
|
|
31
|
+
"del": "^6.1.1",
|
|
32
|
+
"eslint": "^8.18.0",
|
|
33
|
+
"eslint-config-prettier": "^8.5.0",
|
|
34
|
+
"gulp": "^4.0.2",
|
|
35
|
+
"gulp-cheerio": "^1.0.0",
|
|
36
|
+
"gulp-rename": "^2.0.0",
|
|
37
|
+
"gulp-svgmin": "^4.1.0",
|
|
38
|
+
"gulp-svgstore": "^9.0.0",
|
|
39
|
+
"html-loader": "^4.1.0",
|
|
40
|
+
"html-webpack-plugin": "^5.5.0",
|
|
41
|
+
"husky": "^8.0.1",
|
|
42
|
+
"lint-staged": "^13.0.3",
|
|
43
|
+
"prettier": "^2.7.1",
|
|
44
|
+
"raw-loader": "^4.0.2",
|
|
45
|
+
"sass": "^1.52.1",
|
|
46
|
+
"sass-loader": "^13.0.0",
|
|
47
|
+
"style-loader": "^3.3.1",
|
|
48
|
+
"ts-loader": "^9.2.8",
|
|
49
|
+
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
50
|
+
"typescript": "^4.6.3",
|
|
51
|
+
"webpack": "^5.72.0",
|
|
52
|
+
"webpack-cli": "^4.9.2",
|
|
53
|
+
"webpack-dev-server": "^4.8.1"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"handlebars": "^4.7.7",
|
|
57
|
+
"lodash": "^4.17.21"
|
|
58
|
+
},
|
|
59
|
+
"files": [
|
|
60
|
+
"dist/**"
|
|
61
|
+
],
|
|
62
|
+
"main": "dist/hawksearch-ui.js"
|
|
63
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Hawksearch Handlebars UI
|
|
2
|
+
|
|
3
|
+
The Hawksearch Handlebars UI package allows you to add a highly-customizable search results page to your website powered by [Hawksearch](https://www.hawksearch.com/).
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
1. Run `npm install --save @bridgeline-digital/hawksearch-handlebars-ui`
|
|
8
|
+
1. Modify your HTML by importing the Hawksearch Handlebars UI script file and adding the appropriate HTML elements.
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
<!DOCTYPE html>
|
|
12
|
+
<html>
|
|
13
|
+
<head>
|
|
14
|
+
<meta charset="utf-8" />
|
|
15
|
+
<title>Hawksearch Handlebars UI</title>
|
|
16
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
17
|
+
<script type="text/javascript">
|
|
18
|
+
var Hawksearch = Hawksearch || {};
|
|
19
|
+
|
|
20
|
+
Hawksearch.config = {
|
|
21
|
+
clientId: "YOUR_CLIENTID_HERE"
|
|
22
|
+
};
|
|
23
|
+
</script>
|
|
24
|
+
<script src="node_modules/@bridgeline-digital/hawksearch-handlebars-ui/dist/handlebars-ui.js" defer></script>
|
|
25
|
+
</head>
|
|
26
|
+
|
|
27
|
+
<body>
|
|
28
|
+
<h1>Hawksearch Handlebars UI</h1>
|
|
29
|
+
<hawksearch-search></hawksearch-search>
|
|
30
|
+
<hawksearch-results></hawksearch-results>
|
|
31
|
+
</body>
|
|
32
|
+
</html>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Documentation
|
|
36
|
+
|
|
37
|
+
Please see the [documentation](https://hawksearch.atlassian.net/wiki/spaces/HUI) for this project.
|