-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
70 lines (70 loc) · 2.6 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
{
"name": "@teclead/aem-generator",
"version": "3.2.0",
"private": false,
"description": "AEM Dialog and Component Generator based on Typescript Interfaces",
"main": "index.js",
"dependencies": {
"ts-node": "^10.6.0"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^37.9.6",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"pinst": "^3.0.0",
"prettier": "^2.5.1",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.3",
"typescript": "~4.1.6"
},
"scripts": {
"build": "yarn build:clean && yarn build:ts && cp package.json dist/ && cp README.md dist/ && cp CHANGELOG.md dist/ && cp src/react-build-config.js dist/",
"build-aem": "node src/builder.js",
"build:beta": "tsc --project tsconfig.build.json && cp -r src/templates dist/ && cp src/builder.js dist/ && cp -r dist/ ../react-components/react-components/node_modules/@eg/dialog-generator/",
"build:clean": "rm -rf dist",
"build:ts": "tsc --project tsconfig.build.json && cp -r src/templates dist/ && cp src/builder.js dist/",
"current-version": "node -p \"require('./package.json').version\"",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"lint:fix": "yarn lint --fix",
"lint:tsc": "tsc --pretty --noEmit",
"postinstall": "husky install",
"postpack": "pinst --enable",
"prepack": "pinst --disable",
"prettier:write": "prettier --write \"src/**/*.{ts,tsx}\"",
"publish:npm": "git push --follow-tags && cd dist/ && npm publish && cd ..",
"release": "standard-version && yarn build && echo \"To publish the package run 'yarn publish:npm'\"",
"test": "jest --config jest.config.js --cache",
"test:ci": "jest --config jest.config.js --cache --ci --coverage",
"test:coverage": "jest --config jest.config.js --cache --coverage",
"test:dev": "jest --config jest.config.js --cache --watch"
},
"repository": {
"type": "git",
"url": "https://github.com/Teclead/AEM-Generator"
},
"author": "Teclead Ventures GmbH",
"license": "MIT",
"lint-staged": {
"./src/**/*.{js,ts,tsx,jsx}": [
"yarn lint:fix",
"yarn prettier:write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}