File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
"version" : " 1.0.0" ,
5
5
"license" : " BSD" ,
6
6
"scripts" : {
7
- "build" : " copyfiles -f node_modules/bootstrap/dist/css/*.min.* jupyter_server/static/style" ,
8
- "postinstall" : " npm run build"
7
+ "build" : " copyfiles -f node_modules/bootstrap/dist/css/*.min.* jupyter_server/static/style"
9
8
},
10
9
"dependencies" : {
11
10
"bootstrap" : " ^3.4.0" ,
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ test = [
76
76
jupyter-server = " jupyter_server.serverapp:main"
77
77
78
78
[tool .hatch .build ]
79
- artifacts = [" jupyter_server/static/style/*.* " ]
79
+ artifacts = [" jupyter_server/static/style" ]
80
80
81
81
[tool .black ]
82
82
line_length = 100
@@ -104,6 +104,9 @@ filterwarnings = [
104
104
[tool .jupyter-releaser ]
105
105
skip = [" check-links" ]
106
106
107
+ [tool .jupyter-releaser .hooks ]
108
+ before-build-python = [" npm install" , " npm run build" ]
109
+
107
110
[tool .jupyter-releaser .options ]
108
111
post-version-spec = " dev"
109
112
pydist_resource_paths = [" jupyter_server/static/style/bootstrap.min.css" , " jupyter_server/static/style/bootstrap-theme.min.css" ]
You can’t perform that action at this time.
0 commit comments