-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.93 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.93 KB
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
{
"name": "ceres-example",
"version": "1.0.0",
"private": true,
"description": "Ceres Example Template Repository",
"scripts": {
"clean": "rimraf dist",
"typecheck": "tsc --noEmit",
"build": "webpack --config webpack.config.js",
"watch": "webpack serve --config webpack.config.js",
"build:clean": "npm run clean && webpack --config webpack.config.js",
"build:templates": "cross-env BUILD_TEMPLATES_ONLY=1 webpack --config webpack.config.js",
"build:template": "cross-env BUILD_TEMPLATES_ONLY=1 TEMPLATE=$npm_config_template webpack --config webpack.config.js",
"build:main": "cross-env BUILD_MAIN_ONLY=1 webpack --config webpack.config.js",
"build:widgets": "cross-env BUILD_WIDGETS_ONLY=1 webpack --config webpack.config.js",
"build:widget": "cross-env BUILD_WIDGETS_ONLY=1 WIDGET=$npm_config_widget webpack --config webpack.config.js",
"build:vendor": "cross-env BUILD_VENDOR_ONLY=1 webpack --config webpack.config.js",
"test": "jest",
"lint:js": "eslint \"**/*.{js,ts}\" --quiet",
"lint:js:fix": "eslint \"**/*.{js,ts}\" --fix --quiet",
"lint:css": "stylelint \"**/*.{css,scss}\" --quiet",
"lint:css:fix": "stylelint \"**/*.{css,scss}\" --fix --quiet",
"lint": "run-s lint:js lint:css",
"lint:fix": "run-s lint:js:fix lint:css:fix",
"test:coverage": "jest --coverage --silent --verbose --collectCoverageFrom='src/**/*.{ts,js}'",
"test:coverage:view": "npx http-server -c-1 -o coverage/lcov-report",
"test:staged": "cross-env JEST_CI_RUN=1 jest --bail --ci --silent --passWithNoTests --forceExit --findRelatedTests",
"commit": "git-cz"
},
"browserslist": [
"ie 11",
"last 2 versions"
],
"sideEffects": [
"*.css",
"src/widgets/**"
],
"devDependencies": {
"@babel/core": "^7.25.0",
"@babel/plugin-transform-runtime": "^7.25.0",
"@babel/preset-env": "^7.25.0",
"@babel/preset-typescript": "^7.25.0",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/dompurify": "^3.0.5",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"commitiquette": "^1.2.1",
"commitizen": "^4.3.1",
"core-js": "^3.38.1",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"handlebars": "^4.7.8",
"handlebars-loader": "^1.7.3",
"html-webpack-plugin": "^5.6.4",
"husky": "^4.3.8",
"jest": "^29.7.0",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^2.9.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.6",
"postcss-styled-syntax": "^0.7.1",
"postcss-syntax": "^0.36.2",
"prettier": "^2.8.8",
"rimraf": "^6.0.1",
"stylelint": "^17.3.0",
"stylelint-config-standard-scss": "^17.0.0",
"typescript": "^5.6.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^6.0.0"
},
"dependencies": {
"@babel/runtime": "^7.25.0",
"@toast-ui/editor": "^3.2.2",
"dompurify": "^3.3.2",
"libphonenumber-js": "^1.13.5",
"marked": "^17.0.4"
},
"config": {
"commitizen": {
"path": "commitiquette"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{js,ts}": [
"eslint --fix --quiet",
"npm run test:staged"
],
"**/*.{css,scss}": [
"stylelint --fix --quiet"
]
}
}