forked from gristlabs/grist-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.91 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
{
"name": "@gristlabs/grist-widget",
"version": "0.0.4",
"description": "A repository of grist custom widgets that have no back-end requirements.",
"scripts": {
"build": "tsc --build && node ./buildtools/publish.js manifest.json",
"serve": "live-server --port=8585 --no-browser -q",
"build:dev": "node ./buildtools/publish.js manifest.json 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 -g \"${GREP_TESTS}\" _build/test/*.js",
"test:ci": "MOCHA_WEBDRIVER_HEADLESS=1 npm run test",
"pretest": "docker pull gristlabs/grist && tsc --build && node ./buildtools/publish.js manifest.json http://localhost:9998",
"prepack": "node ./buildtools/bundle.js --name grist-bundled --unlisted"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/lodash.escaperegexp": "^4.1.9",
"@types/mocha": "^10.0.1",
"@types/node": "18.11.9",
"@types/node-fetch": "^2.6.4",
"@types/selenium-webdriver": "^4.1.15",
"commander": "^11.1.0",
"live-server": "^1.2.1",
"lodash": "^4.17.21",
"lodash.escaperegexp": "^4.1.2",
"mocha": "^10.2.0",
"mocha-webdriver": "0.3.1",
"node-fetch": "^2",
"nodemon": "^2.0.15",
"ts-node": "^10.9.1",
"typescript": "^5.1.3"
},
"dependencies": {},
"mocha": {
"require": [
"_build/test/init-mocha-webdriver"
]
},
"files": [
"dist/plugins",
"LICENSE",
"README.md"
]
}