forked from gristlabs/grist-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.47 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
{
"name": "grist-widget",
"version": "0.0.2",
"description": "A repository of grist custom widgets that have no back-end requirements.",
"scripts": {
"build": "tsc --build && node ./buildtools/publish.js",
"serve": "live-server --port=8585 --no-browser -q",
"build:dev": "node ./buildtools/publish.js http://localhost:8585",
"serve:dev": "live-server --port=8585 --no-browser -q --middleware=$(pwd)/buildtools/rewriteUrl.js",
"watch": "nodemon --ignore manifest.json -e js,json --exec 'npm run build:dev'",
"dev": "echo 'Starting local server and watching for changes.\nStart Grist with an environmental variable GRIST_WIDGET_LIST_URL=http://localhost:8585/manifest.json' && npm run watch 1> /dev/null & npm run serve:dev 1> /dev/null",
"test": "docker image inspect gristlabs/grist --format 'gristlabs/grist image present' && NODE_PATH=_build SELENIUM_BROWSER=chrome mocha _build/test/*.js"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.3.1",
"@types/node-fetch": "^2.6.4",
"@types/selenium-webdriver": "^4.1.15",
"chromedriver": "114",
"live-server": "^1.2.1",
"mocha": "^10.2.0",
"mocha-webdriver": "^0.2.13",
"node-fetch": "^2",
"nodemon": "^2.0.15",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"resolutions": {
"chromedriver": "114.0.2"
},
"dependencies": {},
"mocha": {
"require": [
"_build/test/init-mocha-webdriver"
]
}
}