UNPKG

@gooddata/gooddata-js

Version:
134 lines (133 loc) 3.89 kB
{ "name": "@gooddata/gooddata-js", "version": "13.5.0", "author": "GoodData", "description": "GoodData JavaScript SDK", "license": "BSD-3-Clause", "main": "lib/gooddata-node.js", "browser": "lib/gooddata-browser.js", "typings": "lib/gooddata-browser.d.ts", "files": [ "dist", "lib", "src", "LICENSE" ], "config": { "tslint": "./{src,test}/**/*.ts" }, "scripts": { "dev": "tsc --watch", "build": "yarn run build:lib && yarn run build:dist", "build:lib": "rm -rf lib && tsc -p tsconfig.build.json", "build:dist": "rm -rf dist && grunt dist", "prepublishOnly": "yarn run build", "test": "jest --watch", "test-once": "jest", "test-ci": "JEST_JUNIT_OUTPUT=./ci/results/test-results.xml jest --config jest.ci.json", "run-tslint": "tslint -p tsconfig.json", "tslint": "yarn run-tslint -t verbose $npm_package_config_tslint", "tslint-ci": "mkdir -p ./ci/results && yarn run-tslint -t checkstyle -o ./ci/results/tslint-results.xml $npm_package_config_tslint", "prettier-check": "prettier --check '{src,test}/**/*.{ts,tsx,json,scss,md,yaml,html}'", "prettier-write": "prettier --write '{src,test}/**/*.{ts,tsx,json,scss,md,yaml,html}'", "validate": "tsc --noEmit && yarn tslint && yarn prettier-check", "validate-ci": "tsc --noEmit && yarn tslint-ci && yarn prettier-check" }, "repository": { "type": "git", "url": "git@github.com:gooddata/gooddata-js.git" }, "jest": { "setupFilesAfterEnv": [ "<rootDir>/jest.setup.js" ], "transform": { ".(ts|tsx)": "ts-jest" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?)$", "collectCoverageFrom": [ "src/**/*.{ts,tsx}", "!**/*.d.ts" ], "collectCoverage": false, "coverageReporters": [ "html" ], "moduleFileExtensions": [ "ts", "tsx", "js" ] }, "devDependencies": { "@gooddata/frontend-npm-scripts": "1.2.0", "@gooddata/grunt-grizzly": "2.0.0", "@gooddata/tslint-config": "^1.0.0", "@types/fast-levenshtein": "0.0.1", "@types/fetch-mock": "5.*", "@types/invariant": "^2.2.29", "@types/isomorphic-fetch": "^0.0.35", "@types/jest": "24.0.6", "@types/json-stable-stringify": "^1.0.32", "@types/lodash": "^4.14.165", "@types/md5": "^2.1.32", "@types/node-fetch": "^2.5.7", "@types/qs": "^6.5.1", "@types/uuid": "^8.3.0", "async": "2.1.5", "exports-loader": "0.6.3", "fast-levenshtein": "2.0.6", "fetch-mock": "5.12.2", "grunt": "1.0.4", "grunt-cli": "1.2.0", "grunt-contrib-copy": "0.8.2", "grunt-contrib-watch": "1.1.0", "grunt-contrib-yuidoc": "1.0.0", "grunt-gh-pages": "2.0.0", "grunt-run": "0.8.0", "grunt-webpack": "4.0.2", "husky": "3.0.0", "imports-loader": "0.7.0", "istanbul-instrumenter-loader": "0.2.0", "jest": "^25.5.4", "jest-junit": "3.0.0", "js-object-pretty-print": "0.2.0", "lint-staged": "9.1.0", "lodash-webpack-plugin": "0.11.0", "prettier": "^1.18.2", "ts-jest": "25.3.1", "ts-loader": "4.5.0", "tslint-config-prettier": "^1.18.0", "typescript": "3.3.4000", "webpack": "^4.44.1", "webpack-dev-server": "^3.11.0" }, "dependencies": { "@gooddata/typings": "^2.27.0", "fetch-cookie": "^0.11.0", "invariant": "^2.2.2", "isomorphic-fetch": "^3.0.0", "json-stable-stringify": "^1.0.1", "lodash": "^4.17.20", "md5": "^2.2.1", "node-fetch": "^2.6.1", "qs": "^6.5.1", "rxjs": "^6.3.1", "uuid": "^8.3.1" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "{src,test}/**/*.{ts,tsx,json,scss,md,yaml,html}": [ "prettier --write", "git add" ], "{src,test}/**/*.{ts,js,tsx,jsx,scss}": [ "npx gdc-fix-copyright", "git add" ] } }