|
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 <t.paine154@gmail.com>", |
| 2 | + "name": "jupyter-template", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "A Jupyter-Python project template", |
| 5 | + "repository": "[email protected]:python-project-templates/jupyter-template.git", |
| 6 | + "author": "Python Project Template Authors <[email protected].com>", |
7 | 7 | "license": "Apache-2.0",
|
| 8 | + "keywords": [ |
| 9 | + "jupyter", |
| 10 | + "jupyterlab", |
| 11 | + "jupyterlab-extension" |
| 12 | + ], |
| 13 | + "main": "lib/index.js", |
8 | 14 | "files": [
|
9 |
| - "dist/**/*", |
10 |
| - "index.d.ts" |
| 15 | + "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", |
| 16 | + "style/**/*.css" |
11 | 17 | ],
|
12 |
| - "types": "index.d.ts", |
13 |
| - "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 | + "jupyterlab": { |
| 19 | + "extension": "lib/index.js", |
| 20 | + "outputDir": "../jupyter_template/labextension", |
| 21 | + "discovery": { |
| 22 | + "server": { |
| 23 | + "base": { |
| 24 | + "name": "jupyter_template" |
| 25 | + }, |
| 26 | + "managers": [ |
| 27 | + "pip" |
| 28 | + ] |
| 29 | + } |
| 30 | + } |
23 | 31 | },
|
24 |
| - "publishConfig": { |
25 |
| - "access": "public" |
| 32 | + "scripts": { |
| 33 | + "build:babel": "babel src/ --source-maps --out-dir lib/", |
| 34 | + "build:nbextension": "mkdirp ../jupyter_template/nbextension/static/ && cpy --flat 'src/notebook/main.js' '../jupyter_templates/nbextension/static/'", |
| 35 | + "build:labextension": "rimraf ../jupyter_template/labextension && jupyter labextension build .", |
| 36 | + "build": "yarn clean && yarn build:babel && yarn build:labextension && yarn build:nbextension", |
| 37 | + "clean": "rimraf lib", |
| 38 | + "fix": "yarn lint --fix", |
| 39 | + "lint": "eslint -c .eslintrc.js --ext .js src/ tests/", |
| 40 | + "prepublishOnly": "yarn run build", |
| 41 | + "test": "jest --coverage --collectCoverageFrom=src/*.{js}" |
26 | 42 | },
|
27 | 43 | "dependencies": {
|
28 |
| - "@fortawesome/fontawesome-free": "^6.5.1", |
29 |
| - "pagedjs": "^0.4.3" |
| 44 | + "@jupyterlab/application": "^4.1.5", |
| 45 | + "@jupyterlab/apputils": "^4.2.5", |
| 46 | + "@jupyterlab/notebook": "^4.1.5", |
| 47 | + "@jupyterlab/services": "^7.1.5", |
| 48 | + "@lumino/disposable": "^2.1.2" |
30 | 49 | },
|
31 | 50 | "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" |
| 51 | + "@babel/cli": "^7.24.1", |
| 52 | + "@babel/core": "^7.24.3", |
| 53 | + "@babel/eslint-parser": "^7.24.1", |
| 54 | + "@babel/preset-env": "^7.24.3", |
| 55 | + "@jupyterlab/builder": "^4.1.5", |
| 56 | + "babel-jest": "^29.7.0", |
| 57 | + "cpy-cli": "^5.0.0", |
| 58 | + "eslint": "^8.57.0", |
| 59 | + "eslint-config-airbnb": "^19.0.4", |
| 60 | + "eslint-config-airbnb-base": "^15.0.0", |
| 61 | + "eslint-config-prettier": "^9.1.0", |
| 62 | + "eslint-plugin-import": "^2.29.1", |
| 63 | + "eslint-plugin-jest": "^28.5.0", |
| 64 | + "eslint-plugin-json": "^3.1.0", |
| 65 | + "eslint-plugin-prettier": "^5.1.3", |
| 66 | + "isomorphic-fetch": "^3.0.0", |
| 67 | + "jest": "^29.7.0", |
| 68 | + "jest-environment-jsdom": "^29.7.0", |
| 69 | + "jest-junit": "^16.0.0", |
| 70 | + "jest-transform-css": "^6.0.1", |
| 71 | + "mkdirp": "^3.0.1", |
| 72 | + "prettier": "^3.2.5", |
| 73 | + "rimraf": "^6.0.1" |
41 | 74 | }
|
42 | 75 | }
|
0 commit comments