-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
115 lines (115 loc) · 4.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@jupyterlite/xeus-lua-kernel",
"version": "0.3.3",
"description": "A Lua kernel for JupyterLite, powered by Xeus",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlite",
"jupyterlite-extension"
],
"homepage": "https://github.com/jupyterlite/xeus-lua-kernel",
"bugs": {
"url": "https://github.com/jupyterlite/xeus-lua-kernel/issues"
},
"license": "BSD-3-Clause",
"author": {
"name": "Thorsten Beier, JupyterLite Contributors",
"email": ""
},
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,wasm}",
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"repository": {
"type": "git",
"url": "https://github.com/jupyterlite/xeus-lua-kernel.git"
},
"scripts": {
"build:dockerimage": "docker build -t mydockerimage --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) . ",
"build:dockerimage_no_cache": "docker build -t mydockerimage --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --no-cache . ",
"build:emscripten": "echo $(pwd) && docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) mydockerimage ./copy_output.sh",
"copy-files": "copyfiles -u 1 src/xlua_wasm.wasm src/xlua_wasm.js lib",
"build:wasm": "jlpm run build:dockerimage && jlpm run build:emscripten",
"build:wasm_no_cache": "jlpm run build:dockerimage_no_cache && jlpm run build:emscripten",
"build:worker": "webpack --config worker.webpack.config.js --mode=development",
"build:worker:prod": "webpack --config worker.webpack.config.js --mode=production",
"build": "jlpm run build:lib && jlpm run build:worker && jlpm run copy-files && jlpm run build:labextension:dev",
"build:prod": "jlpm run clean && jlpm run build:wasm && jlpm run build:lib && jlpm run build:worker:prod && jlpm run copy-files && jlpm run build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": " jlpm run sed-worker && tsc",
"sed-worker": "shx sed -i \"s/XEUS_KERNEL_FILE/'.\\/xlua_wasm.js'/\" src/worker.ts && shx sed -i \"s/LANGUAGE_DATA_FILE/''/\" src/worker.ts ",
"clean": "jlpm run clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:labextension": "rimraf jupyterlite_xeus_lua/labextension",
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install:extension": "jlpm run build",
"lint": "jlpm prettier && yarn eslint",
"lint:check": "jlpm prettier:check && yarn eslint:check",
"prettier": "prettier --list-different --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md,.yml,.html}\"",
"prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md,.yml,.html}\"",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w",
"watch:labextension": "jupyter labextension watch ."
},
"dependencies": {
"@jupyterlite/contents": "^0.1.0-beta.16",
"@jupyterlite/server": "^0.1.0-beta.16",
"comlink": "^4.3.1"
},
"devDependencies": {
"@jupyterlab/builder": "^3.1.0",
"@typescript-eslint/eslint-plugin": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"typescript": "~4.2.3",
"copyfiles": "^2.4.1",
"copy-webpack-plugin": "^9.0.1",
"source-map-loader": "^4.0.0",
"shx": "^0.3.0"
},
"sideEffects": [
"style/*.css",
"style/index.js"
],
"styleModule": "style/index.js",
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"extension": true,
"outputDir": "jupyterlite_xeus_lua/labextension",
"webpackConfig": "./webpack.config.js",
"sharedPackages": {
"@jupyterlite/kernel": {
"bundled": false,
"singleton": true
}
}
},
"jupyterlite": {
"liteExtension": true
},
"jupyter-releaser": {
"skip": [
"check-links"
],
"hooks": {
"before-build-npm": [
"python -m pip install jupyterlab~=3.1",
"jlpm"
]
}
}
}