-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
21,009 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
extends: [ | ||
'plugin:react/recommended', | ||
'airbnb', | ||
'airbnb-typescript', | ||
'plugin:import/typescript', | ||
], | ||
|
||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 13, | ||
sourceType: 'module', | ||
}, | ||
plugins: [ | ||
'react', | ||
'@typescript-eslint', | ||
], | ||
rules: { | ||
'react/function-component-definition': [ | ||
2, | ||
{ | ||
namedComponents: 'arrow-function', | ||
unnamedComponents: 'arrow-function', | ||
}, | ||
], | ||
'react/jsx-filename-extension': [2, { extensions: ['.js', '.jsx', '.ts', '.tsx'] }], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.DS_STORE | ||
.vscode | ||
dist/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# Craft-SightPortal | ||
A Craft extension to explore and search documents | ||
# Sight Portal | ||
|
||
A Craft Extension to explore and search your documents. | ||
|
||
## Run this extension | ||
|
||
For instructions how to get started and use this extension, visit [Sight Portal](https://dharam.is/Sight-Portal). | ||
|
||
## Building | ||
|
||
Simply run `npm install` and then `npm run build` to generate the .craftX file which can be installed. | ||
You can use `npm run dev` to test and debug in your local environment. | ||
|
||
## Feedback | ||
|
||
If you face any issues, or have questions, reach out to me on [Twitter](https://twitter.com/dharamkapila), or by creating an issue on Github. You can also ping me in the [Craft Slack forum](https://craft.do/community). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "Sight Portal", | ||
"fileName": "craft-sight-portal", | ||
"author" : "Dharam Kapila", | ||
"authorEmail" : "[email protected]", | ||
"description" : "A Craft Extension to explore and search your documents", | ||
"id": "com.craft.sightportal", | ||
"api": "0.0.4", | ||
"main": "index.html" | ||
} |
Oops, something went wrong.