UNPKG

@amplitude/ampli

Version:

Amplitude CLI

174 lines (173 loc) 6.3 kB
{ "name": "@amplitude/ampli", "description": "Amplitude CLI", "version": "1.36.2", "author": "Amplitude, Inc.", "bin": { "ampli": "./bin/run" }, "dependencies": { "@amplitude/identify": "^1.10.0", "@amplitude/node": "^1.10.0", "@amplitude/types": "^1.10.0", "@babel/parser": "^7.12.11", "@babel/traverse": "^7.12.12", "@oclif/command": "^1.6.1", "@oclif/config": "^1.15.1", "@oclif/errors": "^1.2.2", "@oclif/parser": "^3.8.3", "@oclif/plugin-autocomplete": "^0.3.0", "@oclif/plugin-help": "^3.2.2", "@oclif/plugin-update": "^1.3.10", "@oclif/plugin-warn-if-update-available": "^1.7.0", "@phenomnomnominal/tsquery": "^3.0.0", "@sentry/node": "^6.2.5", "@sentry/types": "^6.2.5", "@types/debug": "^4.1.5", "@types/inquirer": "^8.2.4", "ansi-regex": "^5.0.1", "antlr4ts": "^0.5.0-alpha.4", "chalk": "^2.4.2", "client-oauth2": "^4.3.3", "conf": "^6.2.0", "debug": "^4.1.1", "dotenv": "^8.2.0", "fs-extra": "^8.1.0", "get-port": "^5.0.0", "globby": "^10.0.1", "graphql": "^15.4.0", "graphql-request": "^3.3.0", "graphql-tag": "^2.11.0", "https-proxy-agent": "^5.0.1", "ignore-walk": "^3.0.3", "inquirer": "^8.2.4", "inquirer-autocomplete-prompt": "^2.0.0", "json5": "^2.1.1", "lodash": "^4.17.21", "minimatch": "^3.0.4", "node-fetch": "^2.6.1", "open": "^7.3.1", "ora": "^4.1.1", "php-parser": "^3.0.0-prerelease.8", "pkce-challenge": "^2.2.0", "randomstring": "^1.1.5", "rimraf": "^3.0.2", "stoppable": "^1.1.0", "tmp": "^0.2.1", "tslib": "^1.14.1", "typescript": "^3.9.7", "uuid": "^9.0.0", "vue-parser": "^1.1.6" }, "devDependencies": { "@amplitude/ampli": "^1.4.4", "@graphql-codegen/add": "^1.17.7", "@graphql-codegen/cli": "^1.19.2", "@graphql-codegen/typescript": "^1.17.11", "@graphql-codegen/typescript-graphql-request": "^2.0.2", "@graphql-codegen/typescript-operations": "^1.17.10", "@oclif/dev-cli": "^1", "@oclif/test": "^1", "@types/analytics-node": "^3.1.6", "@types/babel__traverse": "^7.0.9", "@types/eslint": "^6.1.8", "@types/fs-extra": "^8.1.0", "@types/jest": "^27.0.2", "@types/json5": "^0.0.30", "@types/minimatch": "^3.0.3", "@types/node": "^10", "@types/node-fetch": "^2.6.2", "@types/randomstring": "^1.1.6", "@types/rimraf": "^3.0.2", "@types/semver": "^7.1.0", "@types/stoppable": "^1.1.0", "@types/tmp": "^0.2.1", "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^2.20.0", "@typescript-eslint/parser": "^2.20.0", "antlr4ts-cli": "^0.5.0-alpha.4", "copyfiles": "^2.4.1", "eslint": "^6.8.0", "eslint-config-airbnb-typescript": "^7.0.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.18.3", "eslint-plugin-react-hooks": "^1.7.0", "glob": "^7.2.0", "jest": "^27.2.5", "minimist": "^1.2.5", "semver": "^7.2.2", "ts-jest": "^27.0.5", "ts-node": "^8" }, "engines": { "node": ">=12.0.0" }, "files": [ "/bin", "/lib", "/npm-shrinkwrap.json", "/oclif.manifest.json" ], "homepage": "https://amplitude.com", "keywords": [ "ampli", "amplitude", "cli", "data", "governance", "codegen" ], "license": "UNLICENSED", "main": "lib/index.js", "oclif": { "commands": "./lib/commands", "bin": "ampli", "plugins": [ "@oclif/plugin-help", "@oclif/plugin-warn-if-update-available", "@oclif/plugin-autocomplete" ], "update": { "node": { "version": "12.16.3", "targets": [] } }, "warn-if-update-available": { "timeoutInDays": 1, "message": "\n<%= '─'.repeat(48) %>\nNew version of <%= chalk.yellow('ampli') %> available! <%= chalk.yellow(config.version) %> → <%= chalk.green(latest) %>\n\nUpdate with Homebrew:\n<%= chalk.yellow('brew upgrade ampli') %>\n\nUpdate with npm:\n<%= chalk.yellow('npm install [-g] ' + config.name) %>\n<%= '─'.repeat(48) %>", "registry": "https://registry.npmjs.org" } }, "scripts": { "clean": "rimraf tsconfig.tsbuildinfo \"lib/*\" \"dist/*\"", "prepack": "yarn build && oclif-dev manifest && oclif-dev readme", "postpack": "rimraf oclif.manifest.json", "lint": "eslint --ext .ts ./src ./test", "build": "yarn clean && tsc -b && yarn build:c-sharp-verifier && yarn build:ruby-verifier", "build:c-sharp-verifier": "copyfiles -f \"src/verifier/c-sharp/roslyn_itly_verifier/*.cs*\" \"lib/verifier/c-sharp/roslyn_itly_verifier/\"", "build:ruby-verifier": "copyfiles -f \"src/verifier/ruby/ruby_itly_verifier/*.rb*\" \"lib/verifier/ruby/ruby_itly_verifier/\"", "test": "API_URL='http://localhost:4000/graphql' APP_ENV='local' AMPLI_SENTRY=disabled DOTNET_NOLOGO=true jest --maxWorkers=50% --colors", "test-ci": "CI=true API_URL='https://data-api.staging.amplitude.com/graphql' APP_ENV='development' AMPLI_SENTRY=disabled DOTNET_NOLOGO=true jest --maxWorkers=4 --colors", "test-ci-v": "TEST_VERBOSE=true API_URL='https://data-api.staging.amplitude.com/graphql' APP_ENV='development' jest --runInBand --colors", "test-ci:verify:1": "yarn test-ci dotnet ios node python ruby", "test-ci:verify:2": "yarn test-ci java.test", "test-ci:verify:3": "yarn test-ci kotlin", "version": "oclif-dev readme && git add README.md", "antlr-java": "antlr4ts -listener src/antlr/java/*.g4", "antlr-objc": "antlr4ts -listener src/antlr/objc/*.g4", "antlr-kotlin-1-3": "antlr4ts -listener src/antlr/kotlin/1.3/*.g4", "antlr-kotlin": "antlr4ts -listener src/antlr/kotlin/1.6/*.g4", "antlr-go": "antlr4ts -listener src/antlr/go/*.g4", "generate-gql": "DEBUG=1 graphql-codegen --config graphql-codegen-config.js && sed -i.bak 's/^export type Sdk = ReturnType<typeof getSdk>;$//' src/graphql/generated/index.ts && rm src/graphql/generated/index.ts.bak", "docker:bash": "docker run -it --entrypoint /bin/bash", "ampli-ci": "ampli status -t $AMPLI_CI_TOKEN -u -b main" }, "types": "lib/index.d.ts", "prettier": { "singleQuote": true, "trailingComma": "all", "arrowParens": false } }