-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
5 changed files
with
40 additions
and
10 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,10 @@ | ||
module.exports = { | ||
name: 'Discovery.js', | ||
version: require('./package.json').version, | ||
description: 'Explore, analyze, share', | ||
view: { | ||
assets: [ | ||
'./gh-pages.extensions.js' | ||
] | ||
} | ||
}; |
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,16 @@ | ||
import modelfree from './src/extensions/modelfree.js'; | ||
import upload from './src/extensions/upload.js'; | ||
import * as navButtons from './src/nav/buttons.js'; | ||
|
||
discovery.apply([ | ||
modelfree, | ||
upload.setup({ clipboard: true }), | ||
navButtons.uploadFile, | ||
navButtons.unloadData | ||
]); | ||
|
||
discovery.nav.primary.append({ | ||
name: 'github', | ||
href: 'https://github.com/discoveryjs/discovery', | ||
external: true | ||
}); |
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 |
---|---|---|
|
@@ -5,7 +5,14 @@ | |
"author": "Roman Dvornov <[email protected]> (https://github.com/lahmatiy)", | ||
"license": "MIT", | ||
"repository": "discoveryjs/discovery", | ||
"keywords": [], | ||
"keywords": [ | ||
"json", | ||
"jsonxl", | ||
"query", | ||
"processing", | ||
"visualization", | ||
"analysis" | ||
], | ||
"type": "module", | ||
"main": "lib/lib.js", | ||
"unpkg": "dist/discovery.js", | ||
|
@@ -39,7 +46,7 @@ | |
"build:preloader": "npm run build:preloader:js && npm run build:preloader:css", | ||
"build:preloader:js": "esbuild src/preloader.ts --outfile=dist/discovery-preloader.js --bundle --define:global=window --format=esm --minify --sourcemap=external", | ||
"build:preloader:css": "esbuild src/preloader.css --outfile=dist/discovery-preloader.css --bundle --minify --loader:.svg=dataurl", | ||
"build-gh-pages": "npm run transpile && discovery-build -o .gh-pages --clean", | ||
"build-gh-pages": "npm run transpile && discovery-build -c gh-pages.config.cjs -o .gh-pages --clean --single-file --no-dev", | ||
"transpile": "node scripts/transpile.js", | ||
"prepublishOnly": "npm run transpile && npm run build", | ||
"cypress": "npx cypress open", | ||
|
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
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