-
-
Notifications
You must be signed in to change notification settings - Fork 858
/
package.json
37 lines (37 loc) · 1.58 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
{
"name": "root",
"private": true,
"scripts": {
"lint": "npm-run-all lint:*",
"lint:packages": "npm run lint --workspace=packages --if-present",
"lint:root": "eslint tests",
"build": "npm run build --workspace=packages --if-present",
"pretest": "npm run build",
"serve": "http-server -c-1 -s -p 3000 .",
"test": "server-test test:browser:server 3000 test:all",
"test:all": "npm-run-all test:browser:*:*",
"test:browser": "mocha-headless-chrome -a enable-features=SharedArrayBuffer",
"test:browser:core:mt": "npm run test:browser -- -f http://localhost:3000/tests/ffmpeg-core-mt.test.html",
"test:browser:core:st": "npm run test:browser -- -f http://localhost:3000/tests/ffmpeg-core-st.test.html",
"test:browser:ffmpeg:mt": "npm run test:browser -- -f http://localhost:3000/tests/ffmpeg-mt.test.html",
"test:browser:ffmpeg:st": "npm run test:browser -- -f http://localhost:3000/tests/ffmpeg-st.test.html",
"test:browser:server": "npm run serve",
"test:node": "mocha --exit --bail -t 60000",
"test:node:core:mt": "npm run test:node -- --require tests/test-helper-mt.js tests/ffmpeg-core.test.js",
"test:node:core:st": "npm run test:node -- --require tests/test-helper-st.js tests/ffmpeg-core.test.js",
"prepublishOnly": "npm run build",
"postinstall": "npm run build"
},
"workspaces": [
"packages/*",
"apps/*"
],
"devDependencies": {
"chai": "^4.3.7",
"http-server": "^14.1.1",
"mocha": "^10.2.0",
"mocha-headless-chrome": "^4.0.0",
"npm-run-all": "^4.1.5",
"start-server-and-test": "^2.0.3"
}
}