1
1
{
2
- "name" : " nbprint" ,
3
- "version" : " 0.1.10" ,
4
- "description" : " A framework for customizing NBConvert templates and building reports" ,
5
- "repository" :
" [email protected] :nbprint/nbprint.git" ,
6
- "author" :
" Tim Paine <[email protected] >" ,
2
+ "name" : " jupyter-template" ,
3
+ "version" : " 0.1.0" ,
4
+ "description" : " A Jupyter-Python project template" ,
5
+ "author" : " Python Project Template Authors" ,
6
+ "main" : " lib/index.js" ,
7
+ "repository" : {
8
+ "type" : " git" ,
9
+ "url" : " https://github.com/python-project-templates/jupyter-template.git"
10
+ },
7
11
"license" : " Apache-2.0" ,
8
- "files" : [
9
- " dist/**/*" ,
10
- " index.d.ts"
12
+ "keywords" : [
13
+ " jupyter" ,
14
+ " jupyterlab" ,
15
+ " jupyterlab-extension" ,
11
16
],
12
- "types" : " index.d.ts" ,
13
17
"scripts" : {
14
- "build" : " node build.mjs " ,
15
- "clean " : " rm -rf dist playwright-report ../nbprint/extension " ,
16
- "lint " : " prettier --check \" src/js/*.js \" \" src/less/*.less \" \" tests/*.spec.js \" \" *.js \" \" *.json \" " ,
17
- "fix " : " prettier --write \" src/js/*.js \" \" src/less/*.less \" \" tests/*.spec.js \" \" *.js \" \" *.json \" " ,
18
- "preinstall " : " npx only-allow pnpm " ,
19
- "prepack " : " npm run build " ,
20
- "start:tests " : " http-server -p 3000 " ,
21
- "start:examples " : " http-server -p 3000 -o examples/ " ,
22
- "test" : " TZ=UTC playwright test "
18
+ "build:babel " : " babel src/ --source-maps --out-dir lib/ " ,
19
+ "build:nbextension " : " mkdirp ../jupyter_template/nbextension/static/ && cpy --flat 'src/notebook/main.js' '../jupyter_templates/nbextension/static/' " ,
20
+ "build:labextension " : " rimraf ../jupyter_template/labextension && jupyter labextension build . " ,
21
+ "build " : " yarn clean && yarn build:babel && yarn build:labextension && yarn build:nbextension " ,
22
+ "clean " : " rimraf lib " ,
23
+ "fix " : " yarn lint --fix " ,
24
+ "lint " : " eslint -c .eslintrc.js --ext .js src/ tests/ " ,
25
+ "prepublishOnly " : " yarn run build " ,
26
+ "test" : " jest --coverage --collectCoverageFrom=src/*.{js} "
23
27
},
24
- "publishConfig" : {
25
- "access" : " public"
28
+ "files" : [
29
+ " lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}" ,
30
+ " style/**/*.css"
31
+ ],
32
+ "jupyterlab" : {
33
+ "extension" : " lib/index.js" ,
34
+ "outputDir" : " ../jupyter_template/labextension" ,
35
+ "discovery" : {
36
+ "server" : {
37
+ "base" : {
38
+ "name" : " jupyter_template"
39
+ },
40
+ "managers" : [
41
+ " pip"
42
+ ]
43
+ }
44
+ }
26
45
},
27
46
"dependencies" : {
28
- "@fortawesome/fontawesome-free" : " ^6.5.1" ,
29
- "pagedjs" : " ^0.4.3"
47
+ "@jupyterlab/application" : " ^4.1.5" ,
48
+ "@jupyterlab/apputils" : " ^4.2.5" ,
49
+ "@jupyterlab/notebook" : " ^4.1.5" ,
50
+ "@jupyterlab/services" : " ^7.1.5" ,
51
+ "@lumino/disposable" : " ^2.1.2"
30
52
},
31
53
"devDependencies" : {
32
- "@finos/perspective-esbuild-plugin" : " ^2.10.0" ,
33
- "@finos/perspective-workspace" : " ^2.10.0" ,
34
- "@playwright/test" : " ^1.42.1" ,
35
- "@prospective.co/procss" : " ^0.1.15" ,
36
- "cpy" : " ^11.0.1" ,
37
- "esbuild" : " ^0.20.2" ,
38
- "esbuild-plugin-less" : " ^1.3.3" ,
39
- "http-server" : " ^14.1.1" ,
40
- "prettier" : " ^3.2.5"
54
+ "@babel/cli" : " ^7.24.1" ,
55
+ "@babel/core" : " ^7.24.3" ,
56
+ "@babel/eslint-parser" : " ^7.24.1" ,
57
+ "@babel/preset-env" : " ^7.24.3" ,
58
+ "@jupyterlab/builder" : " ^4.1.5" ,
59
+ "babel-jest" : " ^29.7.0" ,
60
+ "cpy-cli" : " ^5.0.0" ,
61
+ "eslint" : " ^8.57.0" ,
62
+ "eslint-config-airbnb" : " ^19.0.4" ,
63
+ "eslint-config-airbnb-base" : " ^15.0.0" ,
64
+ "eslint-config-prettier" : " ^9.1.0" ,
65
+ "eslint-plugin-import" : " ^2.29.1" ,
66
+ "eslint-plugin-jest" : " ^28.5.0" ,
67
+ "eslint-plugin-json" : " ^3.1.0" ,
68
+ "eslint-plugin-prettier" : " ^5.1.3" ,
69
+ "isomorphic-fetch" : " ^3.0.0" ,
70
+ "jest" : " ^29.7.0" ,
71
+ "jest-environment-jsdom" : " ^29.7.0" ,
72
+ "jest-junit" : " ^16.0.0" ,
73
+ "jest-transform-css" : " ^6.0.1" ,
74
+ "mkdirp" : " ^3.0.1" ,
75
+ "prettier" : " ^3.2.5" ,
76
+ "rimraf" : " ^6.0.1"
41
77
}
42
- }
78
+ }
0 commit comments