-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 5.18 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
{
"name": "@littlecornerdev/cnsi",
"version": "0.3.1",
"description": "Chrome extension for identifying hex code, possible name, and possible wardrobe season for any pixel in the current tab page",
"config": {
"cz-customizable": {
"config": ".cz-config.cjs"
},
"zipfile": "dist/cnsi.zip"
},
"main": "dist/cnsi.zip",
"directories": {
"build": "build",
"dist": "dist",
"source": "source",
"test": "test"
},
"files": [
"dist/"
],
"type": "module",
"publishConfig": {
"access": "restricted",
"verbose": true
},
"scripts": {
"//build": "============================================================",
"about:build": "echo 'Build TS source files to JS'",
"build:dev": "webpack --mode=development",
"build:prod": "webpack --mode=production",
"build": "npm run build:prod",
"//ci": "============================================================",
"about:ci": "echo 'Continuous Integration Scripts'",
"ci": "npm run test && npm run lint && npm run format",
"//cd": "============================================================",
"about:cd": "echo 'Continuous Delivery Scripts'",
"cd": "npm run ci && npm run package:verify",
"//dist": "============================================================",
"about:dist": "echo 'Distribution Scripts'",
"dist": "cd build/ && bestzip ../$npm_package_config_zipfile *",
"upload-dist": "npm run dist && dotenv cws-upload %GOOGLE_CLIENT_ID% %GOOGLE_CLIENT_SECRET% %GOOGLE_REFRESH__TOKEN% ./$npm_package_config_zipfile %GOOGLE_EXTENSION_ID%",
"publish-dist": "npm run dist && dotenv cws-publish %GOOGLE_CLIENT_ID% %GOOGLE_CLIENT_SECRET% %GOOGLE_REFRESH__TOKEN% ./$npm_package_config_zipfile %GOOGLE_EXTENSION_ID%",
"//format": "============================================================",
"about:format": "echo 'Formatting Scripts'",
"format": "prettier --write **/*.{css,js,json,json5,md,ts}",
"//install": "============================================================",
"about:install": "echo 'Installation Scripts'",
"postinstall": "if \"$IN_GHA\" ; then echo 'in GHA'; else echo 'not in GHA' && git config core.hooksPath ./hooks/ && echo 'hooks set up' ; fi ",
"//lint": "============================================================",
"about:lint": "echo 'Linting Scripts'",
"lint:css": "stylelint 'source/**/*.css' --fix",
"lint:js": "eslint 'source/scripts/*' --fix && eslint 'test/**/*' --fix",
"lint": "npm run lint:css && npm run lint:js",
"//publish": "============================================================",
"about:package": "echo 'Packaging Scripts'",
"package:login": "if \"$IN_GHA\" ; then echo 'in GHA'; else echo 'not in GHA' && npm login --scope=@littlecornerdev --registry=https://npm.pkg.github.com ; fi",
"package:verify": "npm run dist && npm pack",
"package:publish": "npm run dist && npm run package:login && npm publish --verbose --tag latest",
"//test": "============================================================",
"about:test": "echo: 'Code Testing Scripts'",
"test": "jest",
"//version": "============================================================",
"about:version": "echo 'Versioning Scripts'",
"preversion": "npm run cd",
"version:get": "echo \"Package version is now $npm_package_version\"",
"version:major": "npm version --no-commit-hooks --git-tag-version false major",
"version:minor": "npm version --no-commit-hooks --git-tag-version false minor",
"version:patch": "npm version --no-commit-hooks --git-tag-version false patch",
"version": "npm run version:get && node scripts/update-manifest-version.js && npx auto-changelog -l 100 -p -t changelog-template.hbs && git commit -nam \"chore(vcs): bump version to $npm_package_version\" && git tag -a \"v$npm_package_version\" -m \"v$npm_package_version\" ",
"postversion": "git push && git push --tags && npm run package:publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LittleCornerDev/chrome-ColorNameSeasonIdentifier.git"
},
"keywords": [
"chrome",
"browser",
"extension",
"color",
"season"
],
"author": "LittleCornerDev",
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/LittleCornerDev/chrome-ColorNameSeasonIdentifier/issues"
},
"homepage": "https://github.com/LittleCornerDev/chrome-ColorNameSeasonIdentifier#readme",
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@jest/globals": "^29.7.0",
"@types/chrome": "^0.0.261",
"@types/jest": "^27.0.0",
"@types/node": "^20.11.20",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"auto-changelog": "^2.4.0",
"bestzip": "^2.2.1",
"commitizen": "^4.3.0",
"copy-webpack-plugin": "^12.0.2",
"cws-publish": "^2.1.1",
"cz-customizable": "^7.0.0",
"dotenv": "^16.4.5",
"edit-json-file": "^1.8.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^27.0.0",
"jest-chrome": "^0.8.0",
"prettier": "3.2.5",
"stylelint": "^16.2.1",
"stylelint-config-standard": "^36.0.0",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^27.0.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^4.0.0",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
}
}