forked from scramjetorg/transform-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 4.76 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
{
"name": "@scramjet/transform-hub",
"version": "0.12.1",
"private": true,
"description": "A development repo for Scramjet Transform Hub, a container supervisor that allows deployment, execution and monitoring of any application based on a simple interface.",
"main": "index.js",
"bic": {
"only": [
"packages"
],
"skip": [
"template"
]
},
"bin": {
"scramjet-transform-hub": "dist/sth/bin/hub.js"
},
"scripts": {
"build": "yarn build:all-packages",
"build:all": "yarn build:packages && yarn build:refapps && yarn build:docker",
"build:refapps": "LOCAL_PACKAGES=true lerna run build:refapps",
"build:packages": "LOCAL_PACKAGES=true lerna run build",
"build:all-packages": "LOCAL_PACKAGES=true lerna run build && LOCAL_PACKAGES=true lerna run build:refapps",
"build:docker": "lerna run build:docker",
"build:docs": "lerna run build:docs && node ./scripts/mk-readme",
"pack-one-app": "([ -n \"$APPNAME\" ] || ( echo 'usage: APPNAME=@scramjet/reference-transform-1-seq yarn pack-one-app' ; exit 1 ) ) && yarn build --scope=$APPNAME && yarn prepack --scope=$APPNAME && yarn packseq --scope=$APPNAME",
"clean:root": "rm -rf ./dist/",
"clean:modules": "find -name node_modules -prune -exec rm -rf {} ';' 2> /dev/null",
"clean": "lerna run clean && yarn clean:root",
"prepack": "yarn pack:pre",
"pack:pre": "LOCAL_PACKAGES=true lerna run prepack",
"pack:pub": "yarn clean:root && FLAT_PACKAGES=true MAKE_PUBLIC=true NO_INSTALL=true lerna run prepack",
"packseq": "lerna run packseq",
"publish:dist": "find dist/ -iname package.json -not -wholename '*node_modules*' -execdir yarn publish --no-git-tag-version --non-interactive \\;",
"lint": "eslint . --ext .ts --cache --cache-strategy=content --cache-location=/tmp/.eslintcache_scramjet-csi",
"lint:uncached": "rm /tmp/.eslintcache_scramjet-csi && yarn lint",
"lint:dedupe": "scripts/dedupe.js",
"start": "node dist/sth/bin/hub.js",
"start:dev": "ts-node packages/sth/src/bin/hub.ts",
"install:clean": "yarn clean && yarn clean:modules && yarn install",
"postinstall": "lerna link",
"prepare": "npx husky install",
"test": "yarn test:parallel && yarn test:bdd",
"test:packages": "lerna run test",
"test:packages-no-concurrent": "lerna run test --concurrency=1",
"test:bdd-ci": "yarn --cwd=./bdd run test:bdd --format=@cucumber/pretty-formatter --tags=@ci --tags=\"not @starts-host\"",
"test:bdd-ci-no-host": "NO_HOST=true yarn --cwd=./bdd run test:bdd --format=@cucumber/pretty-formatter --tags=@ci --tags=\"@starts-host\"",
"test:bdd": "yarn --cwd=./bdd run test:bdd --fail-fast",
"prebump:packages": "NEXT_VER=$(npx semver -i ${VERSION_LEVEL:-prerelease} $(jq -r .version < package.json)) && git diff --exit-code --quiet && yarn bump:images && lerna version -y --force-publish --no-git-tag-version ${NEXT_VER} && git add .",
"bump:packages": "NEXT_VER=$(npx semver -i ${VERSION_LEVEL:-prerelease} $(jq -r .version < package.json)) && yarn version --new-version ${NEXT_VER}",
"bump:images": "./scripts/bump_docker_images.sh",
"bump:version:minor": "VERSION_LEVEL=minor yarn bump:packages",
"bump:version:patch": "VERSION_LEVEL=patch yarn bump:packages",
"bump:version": "yarn bump:packages --no-git-tag-version",
"bump:postversion": "yarn pack:pub && yarn publish:dist && git push --follow-tags",
"align": "syncpack fix-mismatches --source aaa/package.json --source bdd/package.json --source='packages/**[!node_modules]/package.json' --source='packages/reference-apps/**[!node_modules]/package.json' --source='template/package.json'",
"update-aaa": "node scripts/make-aaa-package.js && rm -rf aaa/node_modules aaa/yarn.lock && ( cd ./aaa && yarn install && npx yarn-upgrade-minor )",
"upgrade:all": "yarn update-aaa && yarn align && yarn install"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/scramjetorg/transform-hub.git"
},
"devDependencies": {
"@types/node": "15.12.5",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"build-if-changed": "^1.5.5",
"eslint": "^7.29.0",
"eslint-plugin-import": "^2.23.3",
"eslint-to-editorconfig": "^2.0.0",
"fs-extra": "^9.1.0",
"glob": "^7.1.7",
"globrex": "^0.1.2",
"husky": "^6.0.0",
"lerna": "^4.0.0",
"semver": "^7.3.5",
"syncpack": "^5.7.11",
"tar": "^6.1.0",
"toposort": "^2.0.2",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.4"
},
"workspaces": {
"packages": [
"packages/**",
"bdd"
]
},
"husky": {
"hooks": {
"pre-push": "yarn lint"
}
},
"dependencies": {
"scramjet": "4.36.0"
}
}