forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 5.23 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
{
"name": "root",
"version": "0.0.1",
"private": true,
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": "server/routerlicious"
},
"license": "MIT",
"author": "Microsoft and contributors",
"scripts": {
"build": "npm run policy-check && npm run build:genver && npm run build:compile && npm run lint && npm run build:docs",
"build:compile": "lerna run build:compile --stream",
"build:docs": "lerna run build:docs --stream --parallel",
"build:fast": "fluid-build --root ../.. --server",
"build:full": "npm run build:genver && npm run build:full:compile && npm run lint && npm run build:docs",
"build:full:compile": "lerna run build:full:compile --stream",
"build:gendocs": "api-documenter markdown -i _api-extractor-temp/doc-models -o docs/api",
"build:genver": "lerna run build:genver --stream --parallel",
"bump-version": "lerna version minor --no-push --no-git-tag-version && npm run build:genver",
"ci:build": "npm run build:genver && lerna run build:compile --stream",
"ci:build:docs": "lerna run ci:build:docs --stream --parallel",
"ci:test": "npm run test:report;t1=$?;npm run test:copyresults; exit $t1",
"ci:test:coverage": "npm run test:coverage;t1=$?;npm run test:copyresults; exit $t1",
"clean": "lerna run clean --stream --parallel && npm run clean:docs && npm run clean:nyc",
"clean:docs": "rimraf **/_api-extractor-temp docs/api/*/**",
"clean:nyc": "rimraf nyc/**",
"docker-build": "docker-compose build",
"docker-clean": "docker-compose down --rmi local -v",
"postinstall": "npm run postinstall:lerna",
"lint": "lerna run lint --no-sort --stream",
"lint:fix": "lerna run lint:fix --no-sort --stream",
"lint:strict": "lerna run lint --stream -- -- -- --report-unused-disable-directives",
"policy-check": "fluid-repo-policy-check",
"policy-check:fix": "fluid-repo-policy-check -r",
"post-lerna-install:default": "[ -f package-lock.json ] && mv package-lock.json lerna-package-lock.json; [ -f package-lock.json.bak ] && mv package-lock.json.bak package-lock.json; exit 0",
"post-lerna-install:win32": "if exist package-lock.json move package-lock.json lerna-package-lock.json && if exist package-lock.json.bak move package-lock.json.bak package-lock.json",
"postinstall:lerna": "run-script-os",
"postinstall:lerna:default": "npm run pre-lerna-install:default && { lerna bootstrap --strict --hoist;t1=$?;npm run post-lerna-install:default;exit $t1;}",
"postinstall:lerna:win32": "npm run pre-lerna-install:win32 && (lerna bootstrap --strict --hoist & npm run post-lerna-install:win32)",
"pre-lerna-install:default": "[ -f package-lock.json ] && mv package-lock.json package-lock.json.bak; [ -f lerna-package-lock.json ] && mv lerna-package-lock.json package-lock.json; exit 0",
"pre-lerna-install:win32": "if exist package-lock.json move package-lock.json package-lock.json.bak && if exist lerna-package-lock.json move lerna-package-lock.json package-lock.json",
"restart": "docker-compose restart gateway && docker-compose restart alfred && docker-compose restart deli && docker-compose restart scriptorium && docker-compose restart foreman && docker-compose restart paparazzi",
"start": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up",
"start:debug": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.debug.yml up",
"start:debug:service": "docker-compose -f docker-compose.service.yml -f docker-compose.dev.yml -f docker-compose.debug.yml up -V",
"start:rdkafka": "docker-compose -f docker-compose.rdkafka.yml -f docker-compose.dev.yml up",
"start:service": "docker-compose -f docker-compose.service.yml -f docker-compose.dev.yml up -V",
"stop": "docker-compose down",
"stop:full": "docker-compose down -v",
"test": "lerna run test --stream --no-bail --no-sort",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "nyc npm run test:report",
"test:fromroot": "mocha \"packages/**/dist/test/**/*.spec.js\" --exit",
"test:report": "lerna run test --stream --no-bail --no-sort -- -- --reporter xunit --reporter-option output=nyc/junit-report.xml",
"tsc": "lerna run tsc --stream",
"tsfmt": "lerna run tsfmt:fix --no-sort --stream --no-bail",
"tsfmt:fix": "lerna run tsfmt:fix --no-sort --stream --no-bail",
"watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\"",
"watch:esnext": "lerna run --parallel build:esnext -- -- --watch",
"watch:tsc": "lerna run --parallel tsc -- -- --watch"
},
"nyc": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [],
"include": [],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"dependencies": {},
"devDependencies": {
"@fluidframework/build-tools": "^0.4.4000",
"@microsoft/api-documenter": "^7.17.9",
"@microsoft/api-extractor": "^7.22.2",
"concurrently": "^6.2.0",
"copyfiles": "^2.4.1",
"lerna": "^4.0.0",
"nyc": "^15.0.0",
"rimraf": "^2.6.2",
"run-script-os": "^1.1.5",
"typescript": "~4.5.5"
}
}