| { |
| "description": "Monorepo for TypeScript Bazel support. Published packages are in subdirectories under internal/", |
| "private": true, |
| "version": "0.22.0", |
| "dependencies": { |
| "jasmine-core": "2.8.0", |
| "karma": "alexeagle/karma#fa1a84ac881485b5657cb669e9b4e5da77b79f0a", |
| "karma-chrome-launcher": "2.2.0", |
| "karma-firefox-launcher": "1.1.0", |
| "karma-jasmine": "1.1.1", |
| "karma-requirejs": "1.1.0", |
| "karma-sauce-launcher": "1.2.0", |
| "karma-sourcemap-loader": "0.3.7", |
| "protobufjs": "5.0.3", |
| "requirejs": "2.3.5", |
| "source-map-support": "0.5.9", |
| "tmp": "0.0.33", |
| "tsutils": "2.27.2" |
| }, |
| "devDependencies": { |
| "@bazel/ibazel": "^0.2.0", |
| "@bazel/buildifier": "^0.20.0", |
| "@bazel/typescript": "0.19.1", |
| "@types/jasmine": "^2.8.2", |
| "@types/long": "^4.0.0", |
| "@types/node": "7.0.18", |
| "@types/source-map": "^0.5.1", |
| "@types/tmp": "^0.0.33", |
| "clang-format": "1.0.49", |
| "concurrently": "^3.5.1", |
| "http-server": "^0.11.1", |
| "protractor": "^5.2.0", |
| "shelljs": "^0.8.2", |
| "tsickle": "0.33.1", |
| "typescript": "~3.1.6", |
| "which": "~1.0.5" |
| }, |
| "scripts": { |
| "pree2e": "webdriver-manager update $CHROMEDRIVER_VERSION_ARG && bazel build examples/app:e2e && bazel build examples/protocol_buffers:e2e", |
| "e2e": "yarn e2e-bazel-external && yarn e2e-examples-app-devserver && yarn e2e-examples-app-prodserver && yarn e2e-examples-protobuf-devserver && yarn e2e-examples-protobuf-prodserver && yarn e2e-package_karma && yarn e2e-package_typescript && yarn e2e-package_typescript_karma && yarn e2e-ts_auto_deps", |
| "e2e-bazel-external": "jasmine internal/e2e/default_tsconfig_test.js", |
| "e2e-examples-app-devserver": "concurrently \"bazel run examples/app:devserver\" \"while ! nc -z 127.0.0.1 8080; do sleep 1; done && protractor --suite app\" --kill-others --success first", |
| "e2e-examples-app-prodserver": "concurrently \"bazel run examples/app:prodserver\" \"while ! nc -z 127.0.0.1 8080; do sleep 1; done && protractor --suite app\" --kill-others --success first", |
| "e2e-examples-protobuf-devserver": "concurrently \"bazel run examples/protocol_buffers:devserver\" \"while ! nc -z 127.0.0.1 8080; do sleep 1; done && protractor --suite protocol_buffers\" --kill-others --success first", |
| "e2e-examples-protobuf-prodserver": "concurrently \"bazel run examples/protocol_buffers:prodserver\" \"while ! nc -z 127.0.0.1 8080; do sleep 1; done && protractor --suite protocol_buffers\" --kill-others --success first", |
| "e2e-package_karma": "cd internal/e2e/package_karma; bazel test ...", |
| "e2e-package_typescript": "yarn e2e-package_typescript_2.7 && yarn e2e-package_typescript_2.8 && yarn e2e-package_typescript_2.9 && yarn e2e-package_typescript_3.0 && yarn e2e-package_typescript_3.1 && yarn e2e-package_typescript_3.1_no_npm", |
| "e2e-package_typescript_2.7": "cd internal/e2e/package_typescript_2.7; bazel test ...", |
| "e2e-package_typescript_2.8": "cd internal/e2e/package_typescript_2.8; bazel test ...", |
| "e2e-package_typescript_2.9": "cd internal/e2e/package_typescript_2.9; bazel test ...", |
| "e2e-package_typescript_3.0": "cd internal/e2e/package_typescript_3.0; bazel test ...", |
| "e2e-package_typescript_3.1": "cd internal/e2e/package_typescript_3.1; bazel test ...", |
| "e2e-package_typescript_3.1_no_npm": "cd internal/e2e/package_typescript_3.1_no_npm; bazel test ...", |
| "e2e-package_typescript_karma": "cd internal/e2e/package_typescript_karma; bazel test ...", |
| "e2e-ts_auto_deps": "cd internal/e2e/ts_auto_deps; bazel run @build_bazel_rules_typescript//ts_auto_deps -- -recursive && bazel build simple", |
| "skydoc": "bazel build //docs && unzip -o -d docs/api bazel-bin/docs/docs-skydoc.zip", |
| "version": "node ./on-version.js && git stage package.bzl", |
| "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" |
| } |
| } |