forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (153 loc) · 7.55 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "root",
"version": "0.14.0",
"private": true,
"homepage": "https://fluidframework.com",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/FluidFramework.git",
"directory": ""
},
"license": "MIT",
"author": "Microsoft and contributors",
"scripts": {
"build": "npm run policy-check && npm run layer-check && npm run build:genver && npm run build:compile && npm run lint && npm run build:docs",
"build:ci": "npm run build:genver && lerna run build:compile --stream",
"build:compile": "lerna run build:compile --stream",
"build:docs": "lerna run build:docs --stream --parallel",
"build:fast": "fluid-build --root .",
"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": "copyfiles server/routerlicious/_api-extractor-temp/** ./_api-extractor-temp/doc-models/ -f -V && cd docs && npm run build",
"build:genver": "lerna run build:genver --stream --parallel",
"bump-version": "fluid-bump-version --root .",
"bundle-analysis:collect": "npm run webpack:profile && fluid-collect-bundle-analyses",
"bundle-analysis:run": "fluid-run-bundle-analyses",
"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/**",
"clean:r11s": "cd server/routerlicious && npm run clean",
"postinstall": "npm run postinstall:lerna",
"layer-check": "fluid-layer-check --info tools/build-tools/data/layerInfo.json",
"lint": "lerna run lint --no-sort --stream -- -- -- --color",
"lint:fix": "lerna run lint:fix --no-sort --stream -- -- -- --color",
"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": "cd server/routerlicious && npm run restart",
"start:docker": "docker-compose -f server/docker-compose.yml up",
"stop:docker": "docker-compose -f server/docker-compose.yml down",
"stop:docker:full": "docker-compose -f server/docker-compose.yml down && docker volume prune --force",
"test": "npm run test:mocha && npm run test:jest && npm run test:types && npm run test:realsvc",
"test:bail": "npm run test:mocha:bail && npm run test:jest:bail",
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
"test:coverage": "c8 npm run test:report",
"test:fromroot": "mocha \"packages/**/dist/test/**/*.spec.js\" --exit",
"test:jest": "assign-test-ports && lerna run test:jest --concurrency 4 --stream --no-bail --no-sort -- -- --color",
"test:jest:bail": "assign-test-ports && lerna run test:jest --concurrency 4 --stream",
"test:jest:report": "assign-test-ports && lerna run test:jest --concurrency 4 --stream --no-bail --no-sort -- -- --ci --reporters=default --reporters=jest-junit",
"test:mocha": "lerna run test:mocha --stream --no-bail --no-sort -- -- --color",
"test:mocha:bail": "lerna run test:mocha --stream",
"test:mocha:report": "lerna run test:mocha --stream --no-bail --no-sort -- -- --timeout 4s --reporter xunit --reporter-option output=nyc/mocha-junit-report.xml",
"test:realsvc": "lerna run test:realsvc --stream --no-bail --no-sort",
"test:realsvc:report": "lerna run test:realsvc:report --stream --no-bail --no-sort",
"test:report": "npm run test:mocha:report && npm run test:jest:report && npm run test:realsvc:report",
"test:types": "lerna run test:types --stream --no-bail --no-sort",
"tsc": "lerna run tsc --stream",
"tsc:fast": "fluid-build --root . -s tsc",
"tsfmt": "lerna run tsfmt:fix --no-sort --stream --no-bail",
"tsfmt:fix": "lerna run tsfmt:fix --no-sort --stream --no-bail",
"typetests:gen": "fluid-type-validator -m packages -v",
"typetests:prepare": "npm run typetests:gen -- -p",
"watch": "concurrently \"npm run watch:tsc\" \"npm run watch:esnext\" \"npm run watch:webpack\"",
"watch:esnext": "lerna run --parallel build:esnext -- -- --watch",
"watch:tsc": "lerna run --parallel tsc -- -- --watch",
"watch:webpack": "lerna run --parallel webpack -- -- --watch",
"webpack": "lerna run --no-sort webpack --stream",
"webpack:profile": "lerna run --no-sort webpack:profile --stream"
},
"c8": {
"all": true,
"cache-dir": "nyc/.cache",
"exclude": [
"**/*.d.ts",
"**/src/test/**/*.ts",
"**/dist/test/**/*.js",
"experimental/examples/**",
"experimental/PropertyDDS/examples/**",
"**/*.bundle.js"
],
"exclude-after-remap": false,
"extension": [
".ts",
".tsx",
".js",
".jsx"
],
"include": [
"packages/**/src/**/*.ts",
"packages/**/dist/**/*.js",
"experimental/**/src/**/*.ts",
"experimental/**/dist/**/*.js"
],
"report-dir": "nyc/report",
"reporter": [
"cobertura",
"html",
"text"
],
"temp-directory": "nyc/.nyc_output"
},
"devDependencies": {
"@fluidframework/build-tools": "^0.2.61804",
"@fluidframework/test-tools": "^0.2.3074",
"@microsoft/api-documenter": "^7.17.9",
"@microsoft/api-extractor": "^7.22.2",
"c8": "^7.7.1",
"concurrently": "^6.2.0",
"copyfiles": "^2.1.0",
"lerna": "^4.0.0",
"rimraf": "^2.6.2",
"run-script-os": "^1.1.6",
"typescript": "~4.1.3"
},
"fluidBuild": {
"repoPackages": {
"build": "common/build",
"common-def": "common/lib/common-definitions",
"common-utils": "common/lib/common-utils",
"core-interfaces": "common/lib/core-interfaces",
"protocol-def": "common/lib/protocol-definitions",
"driver-def": "common/lib/driver-definitions",
"container-def": "common/lib/container-definitions",
"server": "server/routerlicious",
"client": {
"directory": "",
"ignoredDirs": []
},
"tools": [
"tools/benchmark",
"server/tinylicious",
"server/azure-local-service"
],
"services": {
"directory": "server",
"ignoredDirs": [
"routerlicious",
"tinylicious",
"azure-local-service"
]
}
}
}
}