-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
135 lines (135 loc) · 6.32 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
{
"name": "generator-chiubaka-typescript-package",
"version": "0.5.0",
"description": "Yeoman generator for standard Chiubaka Technologies TypeScript packages for libraries and other such things.",
"files": [
"generators"
],
"scripts": {
"build": "tsc && yarn run build:copy",
"build:copy": "yarn run build:copy:templates && yarn run build:copy:generators",
"build:copy:generators": "copyfiles --up 2 --all 'build/src/**/*' generators",
"build:copy:templates": "copyfiles --all 'src/**/templates/**' 'test/fixtures/**' build",
"clean": "del --force ./build ./generators /tmp/generated-package",
"clean:typescript-package": "mv generated/typescript-package/.git generated/typescript-package/git.bak && del 'generated/typescript-package/!(git.bak)' 'generated/typescript-package/.*' && mv generated/typescript-package/git.bak generated/typescript-package/.git",
"deploy": "yarn run build && yarn run deploy:npm && yarn run deploy:generated",
"deploy:generated": "yarn run deploy:generated:typescript-package",
"deploy:generated:typescript-package": "yarn run start:typescript-package && yarn run ts-node scripts/deploySubmodule.ts typescript-package",
"deploy:npm": "npm publish --access public",
"lint": "eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx,.yml,.yaml,.json .",
"lint:fix": "yarn run lint --fix",
"lint:staged": "lint-staged",
"prepare": "husky install",
"prestart": "yarn run clean && yarn run build && npm link",
"pretest": "yarn run clean && yarn run build",
"start": "yarn run prestart && yo chiubaka-typescript-package --destination-root /tmp/generated-package",
"start:typescript-package": "yarn run clean:typescript-package && yarn run start --config config/generatedTypescriptPackage.yml && copyfiles --exclude '/tmp/generated-package/.git/**/*' --up 3 --all '/tmp/generated-package/**/*' generated/typescript-package",
"test": "yarn run pretest && jest",
"test:ci": "yarn run test --ci --runInBand --coverage --reporters=default --reporters=jest-junit && mkdir -p reports/junit && mv junit.xml reports/junit/junit.xml",
"test:typescript": "yarn run clean && jest",
"version": "echo $npm_package_version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chiubaka/generator-chiubaka-typescript-package.git"
},
"keywords": [
"yeoman",
"generator",
"typescript",
"npm",
"package",
"chiubaka-technologies"
],
"author": "Daniel Chiu <[email protected]>",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/chiubaka/generator-chiubaka-typescript-package/issues"
},
"homepage": "https://github.com/chiubaka/generator-chiubaka-typescript-package#readme",
"dependencies": {
"octokit": "^2.0.3",
"yeoman-generator": "^5.6.1"
},
"devDependencies": {
"@chiubaka/eslint-config": "^0.1.0",
"@chiubaka/tsconfig": "^0.0.3",
"@types/commander": "^2.12.2",
"@types/jest": "^28.1.4",
"@types/js-yaml": "^4.0.5",
"@types/micromatch": "^4.0.2",
"@types/nock": "^11.1.0",
"@types/node": "^18.0.1",
"@types/temp-dir": "^2.0.2",
"@types/yeoman-assert": "^3.1.1",
"@types/yeoman-generator": "^5.2.10",
"@types/yeoman-test": "^4.0.3",
"commander": "^9.4.0",
"copyfiles": "^2.4.1",
"del-cli": "^4.0.1",
"eslint": "^8.19.0",
"husky": "^8.0.1",
"isbinaryfile": "^5.0.0",
"jest": "^28.1.2",
"jest-junit": "^14.0.0",
"js-yaml": "^4.1.0",
"lint-staged": "^13.0.3",
"mem-fs": "^2.2.1",
"micromatch": "^4.0.5",
"nock": "^13.2.8",
"prettier": "^2.7.1",
"temp-dir": "^2.0.0",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"yeoman-assert": "^3.1.1",
"yeoman-environment": "^3.9.1",
"yeoman-test": "^6.3.0",
"yo": "^4.3.0"
},
"dependenciesComments": {
"octokit": "Official lib for interacting with GitHub APIs",
"yeoman-generator": "Core yeoman generator libraries"
},
"devDependenciesComments": {
"@chiubaka/eslint-config": "Shared linting configs for the Chiubaka Technologies ecosystem",
"@chiubaka/tsconfig": "Shared TSConfig settings for the Chiubaka Technologies ecosystem",
"@types/commander": "Types for commander",
"@types/jest": "Types for jest",
"@types/js-yaml": "Types for js-yaml",
"@types/micromatch": "Types for micromatch",
"@types/nock": "Types for nock",
"@types/node": "Types for NodeJS. Peer dependency of ts-node.",
"@types/temp-dir": "Types for temp-dir",
"@types/yeoman-assert": "Types for yeoman-assert",
"@types/yeoman-generator": "Types for yeoman-generator",
"@types/yeoman-test": "Types for yeoman-test",
"commander": "For creating NodeJS command line interface",
"copyfiles": "Portable copy script to support build process",
"eslint": "Linting and code quality checks",
"del-cli": "For portable rm. Based off of rimraf but supports globbing.",
"husky": "Modern native Git hooks made easy",
"isbinaryfile": "Unlisted dependency of yeoman-environment. https://github.com/chiubaka/generator-chiubaka-typescript-package/issues/4",
"jest": "Test runner from Meta",
"jest-junit": "JUnit report formatter for Jest for compatibility with CircleCI test results format",
"js-yaml": "For parsing of YAML documents and more advanced testing of YAML files",
"lint-staged": "Linting of just staged files",
"mem-fs": "Peer dependency of yeoman-test",
"micromatch": "Matching for glob patterns. Same lib used by a number of other dependencies including lint-staged.",
"nock": "For mocking responses to HTTP requests",
"prettier": "Code formatting for consistent style",
"temp-dir": "Get the path to the temporary directory on the system",
"ts-jest": "TypeScript preprocessor with source map support for Jest",
"ts-node": "To enable TypeScript configuration files for Jest",
"typescript": "TypeScript support for this project",
"yeoman-assert": "Yeoman extensions for native assert module for utility in tests",
"yeoman-environment": "Peer dependency for yeoman-test",
"yeoman-test": "Test helpers for yeoman generators",
"yo": "Running Yeoman generators. Required in order to run generators to update canonical generated packages."
},
"jest-junit": {
"addFileAttribute": "true",
"classNameTemplate": "{suitename}"
},
"packageManager": "[email protected]"
}