This repository has been archived by the owner on May 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
163 lines (163 loc) · 4 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "webpack-boilerplate",
"version": "1.0.0",
"description": "Boilerplate to kickstart creating a project with Webpack configuration",
"homepage": "https://github.com/yoriiis/webpack-boilerplate",
"bugs": "https://github.com/yoriiis/webpack-boilerplate/issues",
"repository": "https://github.com/yoriiis/webpack-boilerplate.git",
"license": "MIT",
"author": "Yoriiis aka Joris DANIEL",
"main": "dist/jsx-extended.cjs.js",
"module": "dist/jsx-extended.esm.js",
"scripts": {
"build": "rm -rf dist && rollup -c rollup.config.js --environment NODE_ENV:production",
"build:all": "npm run build && npm run build:example",
"build:example": "rm -rf example/dist && webpack --config=./example/webpack.config.js --mode=production",
"docs:build": "vuepress build docs",
"docs:dev": "vuepress dev docs --host localhost",
"start": "rollup -w -c rollup.config.js --environment NODE_ENV:development",
"start:example": "webpack --config=./example/webpack.config.js --mode=development",
"test": "jest",
"test:coverage": "jest --coverage",
"test:eslint": "eslint . --ignore-pattern dist",
"test:markdown": "markdownlint '**/*.md' --ignore node_modules",
"test:stylelint": "stylelint './example/src/*.css'",
"test:watch": "jest --watch --coverage"
},
"browserslist": [
"last 2 version"
],
"prettier": {
"printWidth": 100,
"useTabs": true,
"semi": false,
"trailingComma": "none",
"singleQuote": true,
"arrowParens": "always",
"overrides": [
{
"files": "*.md",
"options": {
"proseWrap": "preserve",
"tabWidth": 2,
"useTabs": false,
"singleQuote": true
}
}
]
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"impliedStrict": true,
"experimentalObjectRestSpread": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "standard",
"rules": {
"indent": [
"error",
"tab",
{
"ignoredNodes": [
"TemplateLiteral > *"
]
}
],
"no-console": 0,
"no-tabs": 0,
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}
]
},
"globals": {
"document": false,
"window": false
}
},
"stylelint": {
"extends": "stylelint-config-standard",
"rules": {
"indentation": 4,
"unit-whitelist": [
"em",
"rem",
"%",
"px",
"deg",
"fr",
"vh",
"ms"
]
}
},
"jest": {
"moduleFileExtensions": [
"js",
"css"
],
"resetModules": true,
"verbose": true
},
"dependencies": {},
"devDependencies": {
"@babel/core": "7.9.0",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-syntax-jsx": "7.8.3",
"@babel/plugin-transform-react-jsx": "7.9.4",
"@babel/preset-env": "7.9.0",
"@babel/register": "7.9.0",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"babel-plugin-dynamic-import-node": "2.3.0",
"css-loader": "3.4.2",
"eslint": "7.12.1",
"eslint-config-standard": "16.0.1",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.2",
"expose-loader": "0.7.5",
"file-loader": "5.0.2",
"markdownlint-cli": "0.21.0",
"mini-css-extract-plugin": "0.4.1",
"optimize-css-assets-webpack-plugin": "5.0.3",
"postcss-custom-media": "7.0.8",
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-nested": "4.2.1",
"postcss-preset-env": "6.7.0",
"prettier-eslint": "11.0.0",
"prettier-stylelint": "0.4.2",
"progress-bar-webpack-plugin": "2.1.0",
"rollup": "2.6.1",
"rollup-plugin-terser": "5.3.0",
"style-loader": "1.1.3",
"stylefmt": "6.0.3",
"stylelint": "13.0.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-standard": "19.0.0",
"terser-webpack-plugin": "2.3.2",
"webpack": "4.41.5",
"webpack-cli": "3.3.10",
"webpack-manifest-plugin": "2.2.0"
},
"engines": {
"node": ">=12.14.0"
}
}