forked from BuilderIO/builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 3.7 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
{
"private": true,
"devDependencies": {
"@bazel/bazelisk": "^1.8.1",
"@bazel/buildifier": "^4.0.1",
"@bazel/ibazel": "^0.15.10",
"@bazel/typescript": "^3.4.2",
"@builder.io/block-publish": "^1.1.2",
"@typescript-eslint/parser": "^4.28.3",
"babel-preset-solid": "^1.0.1",
"lerna": "^3.20.2",
"tslib": "^2.2.0",
"typescript": "^4.0.0"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/BuilderIO/builder"
},
"scripts": {
"postinstall": "npm run patch-m1-bazel && npm run patch-m1-ibazel && npm run patch-m1-buildifier",
"patch-m1-bazel": "test \"$(uname -s)\" = 'Darwin' && echo Patching Bazel for Apple M1 architecture compatibility && ln -fs ./bazelisk-darwin_amd64 node_modules/@bazel/bazelisk/bazelisk-darwin_arm64 || echo 'Skipping M1 arch patching'",
"patch-m1-ibazel": "test \"$(uname -s)\" = 'Darwin' && echo Patching iBazel for Apple M1 architecture compatibility && sed -i .bak \"s/'x64' : 'amd64',\\$/'x64' : 'amd64', 'arm64' : 'amd64',/\" ./node_modules/@bazel/ibazel/index.js || echo 'Skipping M1 arch patching'",
"patch-m1-buildifier": "test \"$(uname -s)\" = 'Darwin' && echo Patching Buildifier for Apple M1 architecture compatibility && sed -i .bak \"s/'x64' : 'amd64',\\$/'x64' : 'amd64', 'arm64' : 'amd64',/\" ./node_modules/@bazel/buildifier/buildifier.js || echo 'Skipping M1 arch patching'",
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs buildifier -v --warnings=attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,git-repository,http-archive,integer-division,load,load-on-top,native-build,native-package,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,same-origin-load,string-iteration,unsorted-dict-items,unused-variable",
"bazel:lint": "npm run bazel:format --lint=warn",
"bazel:lint-fix": "npm run bazel:format --lint=fix",
"prettier": "prettier",
"verify-git-not-dirty": "git diff --quiet || exit 1",
"_unlink": "lerna run _unlink --parallel",
"_install": "lerna run _install --stream",
"test": "lerna run test --stream",
"lerna": "lerna",
"install:packages": "npm run _install",
"bootstrap": "lerna bootstrap --force-local",
"reset": "npm run _install && npm run bootstrap && npm run _unlink",
"watch": "npm run start",
"develop": "npm run start",
"build": "lerna run build --stream --no-private --ignore @builder.io/plugin-loader --ignore @builder.io/plugin-shopify --ignore @builder.io/memsource-connector",
"release:patch": "npm run verify-git-not-dirty && npm run _install && npm run bootstrap && npm run build && lerna version patch --yes && lerna run build:unpkg:dist --no-private && ALLOW_PUBLISH=true lerna publish from-package --yes",
"release:minor": "npm run verify-git-not-dirty && npm run _install && npm run bootstrap && npm run build && lerna version minor --yes && lerna run build:unpkg:dist --no-private && ALLOW_PUBLISH=true lerna publish from-package --yes",
"release:prerelease:dev": "npm run build && lerna version prerelease --yes && lerna run build:unpkg:dist --no-private && ALLOW_PUBLISH=true lerna publish from-package --dist-tag dev --yes",
"release:dev": "npm run _install && npm run bootstrap && npm run release:prerelease:dev",
"prepublishOnly": "block-publish",
"ci:lint": "npx prettier@2.0.5 --check '**/*.{js,jsx,ts,tsx}'",
"lint:fix": "prettier --write '**/*.{js,jsx,ts,tsx}'"
},
"dependencies": {
"prettier": "2.0.5"
}
}