@hubspot/local-dev-lib 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +70 -0
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@hubspot/local-dev-lib",
3
+ "version": "0.0.2",
4
+ "description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
5
+ "main": "dist/index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/HubSpot/hubspot-local-dev-lib"
9
+ },
10
+ "publishConfig": {
11
+ "registry": "https://registry.npmjs.org/",
12
+ "access": "public"
13
+ },
14
+ "scripts": {
15
+ "build": "tsc --rootDir . --outdir dist",
16
+ "check-main": "branch=$(git rev-parse --abbrev-ref HEAD) && [ $branch = main ] || (echo 'Error: New release can only be published on main branch' && exit 1)",
17
+ "lint": "eslint --max-warnings=0 . && prettier --check src/**/*.ts",
18
+ "local-dev": "yarn build && cd dist && yarn link && cd .. && tsc --watch --rootDir . --outdir dist",
19
+ "_postinstall": "husky install",
20
+ "prepack": "pinst --disable",
21
+ "postpack": "pinst --enable",
22
+ "prettier:write": "prettier --write src/**/*.{js,json}",
23
+ "pub": "cd dist && npm publish --tag latest && cd ..",
24
+ "push": "git push --atomic origin main v$npm_package_version",
25
+ "release:major": "yarn check-main && yarn version --major && yarn build && yarn pub && yarn push",
26
+ "release:minor": "yarn check-main && yarn version --minor && yarn build && yarn pub && yarn push",
27
+ "release:patch": "yarn check-main && yarn version --patch && yarn build && yarn pub && yarn push",
28
+ "test": "jest"
29
+ },
30
+ "license": "Apache-2.0",
31
+ "devDependencies": {
32
+ "@types/findup-sync": "^4.0.2",
33
+ "@types/fs-extra": "^11.0.1",
34
+ "@types/jest": "^29.5.0",
35
+ "@types/js-yaml": "^4.0.5",
36
+ "@types/node": "^18.14.2",
37
+ "@types/unixify": "^1.0.0",
38
+ "@typescript-eslint/eslint-plugin": "^5.54.0",
39
+ "@typescript-eslint/parser": "^5.59.7",
40
+ "eslint": "^8.35.0",
41
+ "husky": "^8.0.0",
42
+ "jest": "^29.5.0",
43
+ "pinst": "^3.0.0",
44
+ "prettier": "^2.8.4",
45
+ "ts-jest": "^29.0.5",
46
+ "typescript": "^4.9.5"
47
+ },
48
+ "files": [
49
+ "dist/**/*"
50
+ ],
51
+ "exports": {
52
+ ".": "./dist/lib/index.js",
53
+ "./cms": "./dist/lib/cms",
54
+ "./constants": "./dist/constants.js",
55
+ "./github": "./dist/lib/github.js",
56
+ "./path": "./dist/lib/path.js"
57
+ },
58
+ "dependencies": {
59
+ "axios": "^1.3.5",
60
+ "extract-zip": "^2.0.1",
61
+ "findup-sync": "^5.0.0",
62
+ "fs-extra": "^11.1.0",
63
+ "js-yaml": "^4.1.0",
64
+ "moment": "^2.29.4",
65
+ "unixify": "^1.0.0"
66
+ },
67
+ "engines": {
68
+ "node": ">=18.0.0"
69
+ }
70
+ }