forked from GoogleChromeLabs/ps-analysis-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 5.95 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
{
"name": "ps-analysis-tool",
"version": "0.9.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-all **:build ",
"build-cli": "npm run cli-dashboard:build && npm run cli:build",
"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",
"i18n:prebuild": "npm run build:remove -w @google-psat/i18n",
"i18n:build": "npm run i18n:prebuild && npm run build -w @google-psat/i18n",
"common:prebuild": "npm run build:remove -w @google-psat/common",
"common:build": "npm run common:prebuild && npm run build -w @google-psat/common",
"design-system:prebuild": "npm run build:remove -w @google-psat/design-system",
"design-system:build": "npm run design-system:prebuild && npm run build -w @google-psat/design-system",
"library-detection:prebuild": "npm run build:remove -w @google-psat/library-detection",
"library-detection:build": "npm run library-detection:prebuild && npm run build -w @google-psat/library-detection",
"analysis-utils:prebuild": "npm run build:remove -w @google-psat/analysis-utils",
"analysis-utils:dev": "npm run dev -w @google-psat/analysis-utils",
"analysis-utils:build": "npm run analysis-utils:prebuild && npm run build -w @google-psat/analysis-utils",
"cli:dev": "npm run dev -w @google-psat/cli",
"cli:prebuild": "npm run build:remove -w @google-psat/cli",
"cli:build": "cross-env NODE_ENV=production npm run build -w @google-psat/cli",
"cli:start": "npm install && npm run cli:dev",
"cli": "node packages/cli/dist/main.js",
"cli-dashboard:dev": "npm run start -w @google-psat/cli-dashboard",
"cli-dashboard:prebuild": "npm run build:remove -w @google-psat/cli-dashboard",
"cli-dashboard:build": "npm run cli-dashboard:prebuild && cross-env NODE_ENV=production npm run build -w @google-psat/cli-dashboard",
"cookie-db:update": "node scripts/update-cookie-db.cjs",
"ext:dev": "npm run dev -w @google-psat/extension",
"ext:prebuild": "npm run build:remove -w @google-psat/extension",
"ext:build": "npm run ext:prebuild && cross-env NODE_ENV=production npm run build -w @google-psat/extension",
"ext:start": "npm install && npm run ext:dev",
"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/jest.config.cjs",
"test:coverage": "npm run test -- --collectCoverage && open coverage/lcov-report/index.html",
"serve": "webpack serve"
},
"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": "^7.0.27",
"@storybook/addon-interactions": "^7.0.27",
"@storybook/addon-links": "^7.0.27",
"@storybook/addon-styling": "^1.3.4",
"@storybook/blocks": "^7.0.27",
"@storybook/react": "^7.0.27",
"@storybook/react-webpack5": "^7.0.27",
"@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",
"@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",
"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.5.0",
"jest-extended": "^4.0.0",
"lint-staged": "^13.2.2",
"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": "^3.0.1",
"style-loader": "^3.3.3",
"tailwindcss": "^3.3.2",
"ts-loader": "^9.4.3",
"typescript": "^5.0.4",
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"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",
"wappalyzer": {
"puppeteer": "^22.11.1"
}
}
}