1 | {
|
2 | "name": "@gooddata/gooddata-js",
|
3 | "version": "13.5.0",
|
4 | "author": "GoodData",
|
5 | "description": "GoodData JavaScript SDK",
|
6 | "license": "BSD-3-Clause",
|
7 | "main": "lib/gooddata-node.js",
|
8 | "browser": "lib/gooddata-browser.js",
|
9 | "typings": "lib/gooddata-browser.d.ts",
|
10 | "files": [
|
11 | "dist",
|
12 | "lib",
|
13 | "src",
|
14 | "LICENSE"
|
15 | ],
|
16 | "config": {
|
17 | "tslint": "./{src,test}/**/*.ts"
|
18 | },
|
19 | "scripts": {
|
20 | "dev": "tsc --watch",
|
21 | "build": "yarn run build:lib && yarn run build:dist",
|
22 | "build:lib": "rm -rf lib && tsc -p tsconfig.build.json",
|
23 | "build:dist": "rm -rf dist && grunt dist",
|
24 | "prepublishOnly": "yarn run build",
|
25 | "test": "jest --watch",
|
26 | "test-once": "jest",
|
27 | "test-ci": "JEST_JUNIT_OUTPUT=./ci/results/test-results.xml jest --config jest.ci.json",
|
28 | "run-tslint": "tslint -p tsconfig.json",
|
29 | "tslint": "yarn run-tslint -t verbose $npm_package_config_tslint",
|
30 | "tslint-ci": "mkdir -p ./ci/results && yarn run-tslint -t checkstyle -o ./ci/results/tslint-results.xml $npm_package_config_tslint",
|
31 | "prettier-check": "prettier --check '{src,test}/**/*.{ts,tsx,json,scss,md,yaml,html}'",
|
32 | "prettier-write": "prettier --write '{src,test}/**/*.{ts,tsx,json,scss,md,yaml,html}'",
|
33 | "validate": "tsc --noEmit && yarn tslint && yarn prettier-check",
|
34 | "validate-ci": "tsc --noEmit && yarn tslint-ci && yarn prettier-check"
|
35 | },
|
36 | "repository": {
|
37 | "type": "git",
|
38 | "url": "git@github.com:gooddata/gooddata-js.git"
|
39 | },
|
40 | "jest": {
|
41 | "setupFilesAfterEnv": [
|
42 | "<rootDir>/jest.setup.js"
|
43 | ],
|
44 | "transform": {
|
45 | ".(ts|tsx)": "ts-jest"
|
46 | },
|
47 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?)$",
|
48 | "collectCoverageFrom": [
|
49 | "src/**/*.{ts,tsx}",
|
50 | "!**/*.d.ts"
|
51 | ],
|
52 | "collectCoverage": false,
|
53 | "coverageReporters": [
|
54 | "html"
|
55 | ],
|
56 | "moduleFileExtensions": [
|
57 | "ts",
|
58 | "tsx",
|
59 | "js"
|
60 | ]
|
61 | },
|
62 | "devDependencies": {
|
63 | "@gooddata/frontend-npm-scripts": "1.2.0",
|
64 | "@gooddata/grunt-grizzly": "2.0.0",
|
65 | "@gooddata/tslint-config": "^1.0.0",
|
66 | "@types/fast-levenshtein": "0.0.1",
|
67 | "@types/fetch-mock": "5.*",
|
68 | "@types/invariant": "^2.2.29",
|
69 | "@types/isomorphic-fetch": "^0.0.35",
|
70 | "@types/jest": "24.0.6",
|
71 | "@types/json-stable-stringify": "^1.0.32",
|
72 | "@types/lodash": "^4.14.165",
|
73 | "@types/md5": "^2.1.32",
|
74 | "@types/node-fetch": "^2.5.7",
|
75 | "@types/qs": "^6.5.1",
|
76 | "@types/uuid": "^8.3.0",
|
77 | "async": "2.1.5",
|
78 | "exports-loader": "0.6.3",
|
79 | "fast-levenshtein": "2.0.6",
|
80 | "fetch-mock": "5.12.2",
|
81 | "grunt": "1.0.4",
|
82 | "grunt-cli": "1.2.0",
|
83 | "grunt-contrib-copy": "0.8.2",
|
84 | "grunt-contrib-watch": "1.1.0",
|
85 | "grunt-contrib-yuidoc": "1.0.0",
|
86 | "grunt-gh-pages": "2.0.0",
|
87 | "grunt-run": "0.8.0",
|
88 | "grunt-webpack": "4.0.2",
|
89 | "husky": "3.0.0",
|
90 | "imports-loader": "0.7.0",
|
91 | "istanbul-instrumenter-loader": "0.2.0",
|
92 | "jest": "^25.5.4",
|
93 | "jest-junit": "3.0.0",
|
94 | "js-object-pretty-print": "0.2.0",
|
95 | "lint-staged": "9.1.0",
|
96 | "lodash-webpack-plugin": "0.11.0",
|
97 | "prettier": "^1.18.2",
|
98 | "ts-jest": "25.3.1",
|
99 | "ts-loader": "4.5.0",
|
100 | "tslint-config-prettier": "^1.18.0",
|
101 | "typescript": "3.3.4000",
|
102 | "webpack": "^4.44.1",
|
103 | "webpack-dev-server": "^3.11.0"
|
104 | },
|
105 | "dependencies": {
|
106 | "@gooddata/typings": "^2.27.0",
|
107 | "fetch-cookie": "^0.11.0",
|
108 | "invariant": "^2.2.2",
|
109 | "isomorphic-fetch": "^3.0.0",
|
110 | "json-stable-stringify": "^1.0.1",
|
111 | "lodash": "^4.17.20",
|
112 | "md5": "^2.2.1",
|
113 | "node-fetch": "^2.6.1",
|
114 | "qs": "^6.5.1",
|
115 | "rxjs": "^6.3.1",
|
116 | "uuid": "^8.3.1"
|
117 | },
|
118 | "husky": {
|
119 | "hooks": {
|
120 | "pre-commit": "lint-staged"
|
121 | }
|
122 | },
|
123 | "lint-staged": {
|
124 | "{src,test}/**/*.{ts,tsx,json,scss,md,yaml,html}": [
|
125 | "prettier --write",
|
126 | "git add"
|
127 | ],
|
128 | "{src,test}/**/*.{ts,js,tsx,jsx,scss}": [
|
129 | "npx gdc-fix-copyright",
|
130 | "git add"
|
131 | ]
|
132 | }
|
133 | }
|