forked from bazel-contrib/rules_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 4.15 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
{
"name": "@bazel/javascript",
"description": "Build JavaScript with Bazel",
"version": "0.26.0",
"keywords": [
"javascript",
"bazel"
],
"homepage": "https://github.com/bazelbuild/rules_nodejs",
"license": "Apache-2.0",
"devDependencies": {
"//": "need release candidate of Bazel to pick up https://github.com/bazelbuild/bazel/pull/6980",
"@bazel/bazel": "^0.23.0-rc1b",
"@bazel/buildifier": "^0.20.0",
"@bazel/typescript": "0.23.2",
"clang-format": "1.2.2",
"hello": "file:./tools/npm_packages/hello",
"husky": "^0.14.3",
"is-builtin-module": "^2.0.0",
"jasmine": "3.3.1",
"node_resolve_index": "file:./tools/npm_packages/node_resolve_index",
"node_resolve_index_2": "file:./tools/npm_packages/node_resolve_index_2",
"node_resolve_index_3": "file:./tools/npm_packages/node_resolve_index_3",
"node_resolve_index_4": "file:./tools/npm_packages/node_resolve_index_4",
"node_resolve_main": "file:./tools/npm_packages/node_resolve_main",
"node_resolve_main_2": "file:./tools/npm_packages/node_resolve_main_2",
"node_resolve_nested_main": "file:./tools/npm_packages/node_resolve_nested_main",
"rollup-plugin-node-resolve": "gregmagolan/rollup-plugin-node-resolve#dist-4.0.0-ab35c968ca3803148ff21600402a8a5ff4be35af",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup": "1.0.0",
"shelljs": "^0.8.2",
"typescript": "^3.3.1",
"unidiff": "0.0.4",
"zone.js": "0.8.29"
},
"scripts": {
"//nested workspace tests": "Run bazel from within the folder containing the WORKSPACE so that the WORKSPACE file is tested",
"internal-e2e-bazel_workspaces": "cd internal/e2e/bazel_workspaces && yarn test",
"internal-e2e-bazel_workspaces_compat": "cd internal/e2e/bazel_workspaces_compat && yarn test",
"internal-e2e-fine_grained_symlinks": "cd internal/e2e/fine_grained_symlinks && yarn test",
"internal-e2e-node_loader_no_preserve_symlinks": "cd internal/e2e/node_loader_no_preserve_symlinks && yarn test",
"internal-e2e-node_loader_preserve_symlinks": "cd internal/e2e/node_loader_preserve_symlinks && yarn test",
"packages-jasmine": "cd packages/jasmine && yarn test",
"packages-typescript": "cd packages/typescript && yarn test",
"packages-karma": "cd packages/karma && yarn test",
"packages-labs": "cd packages/labs && yarn test",
"test:e2e": "bazel build //:local_testing_package && yarn internal-e2e-bazel_workspaces && yarn internal-e2e-bazel_workspaces_compat && yarn internal-e2e-fine_grained_symlinks && yarn internal-e2e-node_loader_no_preserve_symlinks && yarn internal-e2e-node_loader_preserve_symlinks",
"test:examples": "./examples/test_examples.sh",
"test:packages": "yarn packages-jasmine && yarn packages-typescript && yarn packages-karma && yarn packages-labs",
"test": "yarn test:packages && yarn test:examples && yarn test:e2e",
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs buildifier -v --warnings=args-order,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": "yarn bazel:format --lint=warn",
"bazel:lint-fix": "yarn bazel:format --lint=fix",
"format": "git-clang-format",
"format-all": "clang-format --glob='{internal/**/,examples/**/}*.{js,ts}' -i",
"precommit": "check-clang-format \"yarn format\"",
"skydoc": "bazel build //docs && unzip -o -d docs bazel-bin/docs/docs-skydoc.zip",
"version": "node ./on-version.js && bazel build //:release && node ./on-release.js && git stage defs.bzl README.md"
}
}