Skip to content

Commit 11399ea

Browse files
committed
Release of neural-activity-visualizer-react@1.1.0
1 parent 5fd3a30 commit 11399ea

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

js/react/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
"name": "neural-activity-visualizer-react",
33
"version": "1.1.0",
44
"description": "A ReactJS component for visualizing neural activity data",
5+
"files": [
6+
"dist"
7+
],
58
"main": "dist/index.cjs.js",
69
"module": "dist/index.esm.js",
7-
"source": "src/index.js",
810
"type": "module",
911
"scripts": {
12+
"prepublishOnly": "npm run build-lib",
1013
"build-lib": "vite build",
1114
"build-lib-watch": "vite build --watch",
1215
"build-demo": "npm run build-lib && cd demo && npm run build",
@@ -23,7 +26,7 @@
2326
"homepage": "https://github.com/NeuralEnsemble/neo-viewer/blob/master/js/react#readme",
2427
"repository": {
2528
"type": "git",
26-
"url": "https://github.com/NeuralEnsemble/neo-viewer.git",
29+
"url": "git+https://github.com/NeuralEnsemble/neo-viewer.git",
2730
"directory": "js/react"
2831
},
2932
"devDependencies": {

js/react/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default defineConfig({
2727
'@emotion/react', '@emotion/styled',
2828
'plotly.js', 'react-plotly.js'],
2929
},
30+
sourcemap: true,
3031
minify: false,
3132
emptyOutDir: true,
3233
},

0 commit comments

Comments
 (0)