mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
4cb332622a
The build script prepares the package for a production build, builds the app, places every all needed files in a dist directory and cleans it. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
142 lines
2.2 KiB
JSON
142 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"pipeline": {
|
|
"build": {},
|
|
"@hedgedoc/html-to-react#build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"@hedgedoc/commons#build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"@hedgedoc/markdown-it-plugins#build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"@hedgedoc/frontend#build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**",
|
|
"!.next/**"
|
|
],
|
|
"env": [
|
|
"NODEJS_VERSION"
|
|
]
|
|
},
|
|
"@hedgedoc/backend#build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
],
|
|
"env": [
|
|
"NODEJS_VERSION"
|
|
]
|
|
},
|
|
|
|
"build:test": {},
|
|
"@hedgedoc/frontend#build:test": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**",
|
|
"!.next/**"
|
|
],
|
|
"env": [
|
|
"NODEJS_VERSION"
|
|
]
|
|
},
|
|
|
|
"lint": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"lint:fix": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
|
|
"format": {},
|
|
|
|
"test": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
|
|
"test:ci": {},
|
|
"@hedgedoc/backend#test:ci": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"env": [
|
|
"NODEJS_VERSION"
|
|
],
|
|
"outputs": [
|
|
"coverage/**"
|
|
]
|
|
},
|
|
"@hedgedoc/frontend#test:ci": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"env": [
|
|
"NODEJS_VERSION"
|
|
]
|
|
},
|
|
|
|
"test:e2e:ci": {},
|
|
"@hedgedoc/frontend#test:e2e:ci": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"env": [
|
|
"CYPRESS_CONTAINER_ID"
|
|
]
|
|
},
|
|
"@hedgedoc/backend#test:e2e:ci": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"env": [
|
|
"HEDGEDOC_TEST_DB_TYPE"
|
|
],
|
|
"outputs": [
|
|
"coverage-e2e/**"
|
|
]
|
|
},
|
|
|
|
"start:dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
|
|
"start": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|
|
|