1 | {
|
2 | "name": "fec",
|
3 | "version": "0.0.76",
|
4 | "description": "front-end compiler, react, jss, webpack, markdown, ssr",
|
5 | "main": "index.js",
|
6 | "devDependencies": {
|
7 | "babel-eslint": "^10.0.3",
|
8 | "eslint": "^6.6.0",
|
9 | "eslint-plugin-react": "^7.17.0",
|
10 | "eslint-plugin-react-hooks": "^2.3.0",
|
11 | "import-js": "^3.2.0",
|
12 | "prettier": "^1.18.2"
|
13 | },
|
14 | "peerDependencies": {
|
15 | "react": "^16.12.0",
|
16 | "react-dom": "^16.12.0"
|
17 | },
|
18 | "dependencies": {
|
19 | "@babel/core": "^7.6.4",
|
20 | "@babel/plugin-proposal-class-properties": "^7.7.4",
|
21 | "@babel/plugin-proposal-optional-chaining": "^7.2.0",
|
22 | "@babel/plugin-transform-react-jsx": "^7.7.4",
|
23 | "@babel/preset-env": "^7.6.3",
|
24 | "@babel/register": "^7.7.4",
|
25 | "@babel/traverse": "^7.7.4",
|
26 | "babel-loader": "^8.0.6",
|
27 | "babel-plugin-module-resolver": "^4.0.0",
|
28 | "chokidar": "^3.3.0",
|
29 | "compression-webpack-plugin": "^3.0.1",
|
30 | "core-js": "3",
|
31 | "cosmiconfig": "^6.0.0",
|
32 | "dotenv": "^8.2.0",
|
33 | "express": "^4.17.1",
|
34 | "glob": "^7.1.6",
|
35 | "gray-matter": "^4.0.2",
|
36 | "ink": "^2.6.0",
|
37 | "jsdom": "^15.2.1",
|
38 | "lodash": "^4.17.15",
|
39 | "marked": "^0.7.0",
|
40 | "normalize.css": "^8.0.1",
|
41 | "pkg-dir": "^4.2.0",
|
42 | "react-helmet-async": "^1.0.4",
|
43 | "react-hyperscript": "^3.2.0",
|
44 | "react-jss": "^10.0.0",
|
45 | "rimraf": "^3.0.0",
|
46 | "webpack": "^5.0.0-beta.9",
|
47 | "webpack-merge": "^4.2.2",
|
48 | "ws": "^7.2.1"
|
49 | },
|
50 | "eslintConfig": {
|
51 | "parser": "babel-eslint",
|
52 | "parserOptions": {
|
53 | "ecmaVersion": 6,
|
54 | "sourceType": "module"
|
55 | },
|
56 | "env": {
|
57 | "es6": true,
|
58 | "node": true,
|
59 | "browser": true
|
60 | },
|
61 | "extends": [
|
62 | "eslint:recommended"
|
63 | ],
|
64 | "rules": {
|
65 | "indent": [
|
66 | "error",
|
67 | 2
|
68 | ],
|
69 | "linebreak-style": [
|
70 | "error",
|
71 | "unix"
|
72 | ],
|
73 | "quotes": [
|
74 | "error",
|
75 | "single",
|
76 | {
|
77 | "avoidEscape": true
|
78 | }
|
79 | ],
|
80 | "semi": [
|
81 | "error",
|
82 | "never"
|
83 | ],
|
84 | "no-extra-semi": "off",
|
85 | "comma-dangle": [
|
86 | "error",
|
87 | "always-multiline"
|
88 | ],
|
89 | "no-cond-assign": [
|
90 | "error",
|
91 | "always"
|
92 | ],
|
93 | "no-console": "off",
|
94 | "no-unused-vars": [
|
95 | "error",
|
96 | {
|
97 | "argsIgnorePattern": "^_",
|
98 | "varsIgnorePattern": "^_"
|
99 | }
|
100 | ],
|
101 | "one-var": "error"
|
102 | }
|
103 | },
|
104 | "prettier": {
|
105 | "printWidth": 80,
|
106 | "tabWidth": 2,
|
107 | "singleQuote": true,
|
108 | "jsxBracketSameLine": true,
|
109 | "trailingComma": "all",
|
110 | "semi": false
|
111 | }
|
112 | }
|