|
| 1 | +{ |
| 2 | + "name": "cate-theme", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "A JupyterLab extension.", |
| 5 | + "keywords": [ |
| 6 | + "jupyter", |
| 7 | + "jupyterlab", |
| 8 | + "jupyterlab-extension" |
| 9 | + ], |
| 10 | + "homepage": "https://github.com/CCI-Tools/cate-jupyter-theme", |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/CCI-Tools/cate-jupyter-theme/issues" |
| 13 | + }, |
| 14 | + "license": "BSD-3-Clause", |
| 15 | + "author": { |
| 16 | + "name": "Tonio Fincke (Brockmann Consult GmbH)", |
| 17 | + |
| 18 | + }, |
| 19 | + "files": [ |
| 20 | + "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", |
| 21 | + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" |
| 22 | + ], |
| 23 | + "main": "lib/index.js", |
| 24 | + "types": "lib/index.d.ts", |
| 25 | + |
| 26 | + "repository": { |
| 27 | + "type": "git", |
| 28 | + "url": "https://github.com/CCI-Tools/cate-jupyter-theme.git" |
| 29 | + }, |
| 30 | + "scripts": { |
| 31 | + "build": "jlpm build:lib && jlpm build:labextension:dev", |
| 32 | + "build:prod": "jlpm clean && jlpm build:lib && jlpm build:labextension", |
| 33 | + "build:labextension": "jupyter labextension build .", |
| 34 | + "build:labextension:dev": "jupyter labextension build --development True .", |
| 35 | + "build:lib": "tsc", |
| 36 | + "clean": "jlpm clean:lib", |
| 37 | + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
| 38 | + "clean:lintcache": "rimraf .eslintcache .stylelintcache", |
| 39 | + "clean:labextension": "rimraf cate_theme/labextension", |
| 40 | + "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", |
| 41 | + "eslint": "jlpm eslint:check --fix", |
| 42 | + "eslint:check": "eslint . --cache --ext .ts,.tsx", |
| 43 | + "install:extension": "jlpm build", |
| 44 | + "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", |
| 45 | + "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", |
| 46 | + "prettier": "jlpm prettier:base --write --list-different", |
| 47 | + "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", |
| 48 | + "prettier:check": "jlpm prettier:base --check", |
| 49 | + "stylelint": "jlpm stylelint:check --fix", |
| 50 | + "stylelint:check": "stylelint --cache \"style/**/*.css\"", |
| 51 | + "watch": "run-p watch:src watch:labextension", |
| 52 | + "watch:src": "tsc -w", |
| 53 | + "watch:labextension": "jupyter labextension watch ." |
| 54 | + }, |
| 55 | + "dependencies": { |
| 56 | + "@jupyterlab/application": "^3.1.0", |
| 57 | + "@jupyterlab/apputils": "^3.1.0" |
| 58 | + }, |
| 59 | + "devDependencies": { |
| 60 | + "@jupyterlab/builder": "^3.1.0", |
| 61 | + "@typescript-eslint/eslint-plugin": "^4.8.1", |
| 62 | + "@typescript-eslint/parser": "^4.8.1", |
| 63 | + "eslint": "^7.14.0", |
| 64 | + "eslint-config-prettier": "^6.15.0", |
| 65 | + "eslint-plugin-prettier": "^3.1.4", |
| 66 | + "npm-run-all": "^4.1.5", |
| 67 | + "prettier": "^2.1.1", |
| 68 | + "rimraf": "^3.0.2", |
| 69 | + "stylelint": "^14.3.0", |
| 70 | + "stylelint-config-prettier": "^9.0.3", |
| 71 | + "stylelint-config-recommended": "^6.0.0", |
| 72 | + "stylelint-config-standard": "~24.0.0", |
| 73 | + "stylelint-prettier": "^2.0.0", |
| 74 | + "typescript": "~4.1.3" |
| 75 | + }, |
| 76 | + "sideEffects": [ |
| 77 | + "style/*.css"], |
| 78 | + "publishConfig": { |
| 79 | + "access": "public" |
| 80 | + }, |
| 81 | + "jupyterlab": { |
| 82 | + "extension": true, |
| 83 | + "outputDir": "cate_theme/labextension", |
| 84 | + "themePath": "style/index.css" |
| 85 | + }, |
| 86 | + "jupyter-releaser": { |
| 87 | + "hooks": { |
| 88 | + "before-build-npm": [ |
| 89 | + "python -m pip install jupyterlab~=3.1", |
| 90 | + "jlpm" |
| 91 | + ], |
| 92 | + "before-build-python": [ |
| 93 | + "jlpm clean:all" |
| 94 | + ] |
| 95 | + } |
| 96 | + } |
| 97 | +} |
0 commit comments