-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
162 lines (162 loc) · 6.66 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "ps-analysis-tool",
"version": "0.13.0",
"description": "Cookie Analysis Tool and CLI for analysis and understanding of cookie usage on web pages.",
"scripts": {
"build-storybook": "storybook build",
"build:all": "npm run build:tsc-packages && npm run build:cli-dashboard && npm run webpack:build:cli && npm run webpack:build:ext",
"build:tsc-packages": "npm run build:i18n && npm run build:common && npm run build:design-system && npm run build:library-detection && npm run build:analysis-utils && npm run build:report",
"dev:tsc-packages": "run-p dev:i18n dev:common dev:design-system dev:library-detection dev:analysis-utils dev:report",
"publish:all:local": "npm run build:all && npm run publish:local --workspaces",
"unpublish:all:local": "npm run unpublish:local --workspaces",
"publish:all:remote": "npm run build:all && npm run publish:remote --workspaces",
"unpublish:all:remote": "npm run unpublish:remote --workspaces",
"build:i18n": "npm run build -w @google-psat/i18n",
"dev:i18n": "npm run dev -w @google-psat/i18n",
"build:common": "npm run build -w @google-psat/common",
"dev:common": "npm run dev -w @google-psat/common",
"build:design-system": "npm run build -w @google-psat/design-system",
"dev:design-system": "npm run dev -w @google-psat/design-system",
"build:library-detection": "npm run build -w @google-psat/library-detection",
"dev:library-detection": "npm run dev -w @google-psat/library-detection",
"build:analysis-utils": "npm run build -w @google-psat/analysis-utils",
"dev:analysis-utils": "npm run dev -w @google-psat/analysis-utils",
"webpack:dev:cli": "npm run dev -w @google-psat/cli",
"dev:cli": "run-p dev:tsc-packages webpack:dev:cli",
"webpack:build:cli": "cross-env NODE_ENV=production npm run build -w @google-psat/cli",
"build:cli": "npm run build:tsc-packages && npm run webpack:build:cli",
"build:cli:dashboard": "npm run build:cli && npm run build:cli-dashboard",
"cli": "node packages/cli/dist/main.js",
"build:report": "npm run build -w @google-psat/report",
"dev:report": "npm run dev -w @google-psat/report",
"dev:cli-dashboard": "npm run dev -w @google-psat/cli-dashboard",
"dev:ee:pa": "npm run dev -w @google-psat/explorable-explanations",
"build:ee:pa": "npm run build -w @google-psat/explorable-explanations",
"build:cli-dashboard": "cross-env NODE_ENV=production npm run build -w @google-psat/cli-dashboard",
"cookie-db:update": "node scripts/update-cookie-db.cjs",
"webpack:dev:ext": "npm run dev -w @google-psat/extension",
"dev:ext": "run-p dev:tsc-packages webpack:dev:ext",
"webpack:build:ext": "cross-env NODE_ENV=production npm run build -w @google-psat/extension",
"build:ext": "npm run build:tsc-packages && npm run build:ee:pa && npm run webpack:build:ext",
"build:ext:google": "npm i && npm run build:ext && node scripts/update-manifest-key.cjs",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "eslint .",
"lint:types": "tsc ",
"lint:js:fix": "eslint --fix .",
"local-registry:start": "bash ./bin/setup-local-registry.sh",
"local-registry:stop": "bash ./bin/stop-local-registry.sh",
"merge-i18n-messages": "node packages/i18n/scripts/merge-messages.cjs",
"prepare": "husky install",
"rws-json:update": "node scripts/update-rws-json.cjs",
"storybook": "storybook dev -p 6006",
"test": "jest --config=tests/unitTest.jest.config.cjs",
"test:cli:e2e": "jest --config=tests/cliE2E.jest.config.cjs --runInBand",
"test:extension:e2e": "jest --config=tests/extensionE2E.jest.config.cjs --runInBand",
"test:coverage": "npm run test -- --collectCoverage && open coverage/lcov-report/index.html",
"serve": "webpack serve",
"start": "npm i && npm run dev:ext"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GoogleChromeLabs/ps-analysis-tool.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/GoogleChromeLabs/ps-analysis-tool/issues"
},
"homepage": "https://github.com/GoogleChromeLabs/ps-analysis-tool",
"devDependencies": {
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@google-psat/eslint-import-resolver": "*",
"@storybook/addon-essentials": "^8.6.0",
"@storybook/addon-interactions": "^7.0.27",
"@storybook/addon-links": "^7.0.27",
"@storybook/addon-styling": "^2.0.0",
"@storybook/blocks": "^8.6.0",
"@storybook/react": "^8.6.0",
"@storybook/react-webpack5": "^8.6.0",
"@storybook/testing-library": "^0.0.14-next.2",
"@svgr/webpack": "^8.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/chrome": "^0.0.237",
"@types/jest": "^29.5.2",
"@types/react": "^18.2.9",
"@types/react-dom": "^18.2.4",
"@types/sinon-chrome": "^2.2.11",
"@types/spinnies": "^0.5.3",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",
"babel-plugin-styled-components": "^2.1.3",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"csvtojson": "^2.0.10",
"dotenv": "^16.4.7",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^46.2.6",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.12",
"fs-extra": "^11.1.1",
"html-webpack-plugin": "^5.5.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.0",
"lint-staged": "^13.2.2",
"node-fetch": "^2.7.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"postcss-loader": "^7.3.3",
"prettier": "^2.8.8",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.5",
"sinon-chrome": "^2.2.4",
"style-loader": "^3.3.3",
"tailwindcss": "^3.3.2",
"ts-loader": "^9.4.3",
"typescript": "^5.0.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0",
"webpack-node-externals": "^3.0.0",
"webpackbar": "^5.0.2"
},
"lint-staged": {
"*.(cjs|js|ts|tsx)": [
"eslint --fix"
],
"*.json": [
"prettier --write"
],
"*.(xml|xml.dist)": "prettier --write",
"*.yml": "prettier --write"
},
"workspaces": [
"packages/*"
],
"overrides": {
"xml2js": "^0.5.0",
"micromatch": "^4.0.8",
"path-to-regexp": "^0.1.12",
"send": "^0.19.0"
}
}