|
22 | 22 | "build:readme": "toctoc README.md -w", |
23 | 23 | "build:dist:watch": "rollup -c --watch", |
24 | 24 | "build:lib:watch": "npm run build:lib -- --watch", |
25 | | - "test": "npm run lint && npm run test:web", |
| 25 | + "test": "npm run lint && npm run lint:css && npm run test:web", |
26 | 26 | "test:web": "NODE_ENV=test TEST_REPORT_PATH=reports jest --coverage", |
27 | 27 | "test:clean": "rimraf ./coverage", |
28 | 28 | "test:watch": "npm run test -- --watch", |
29 | 29 | "lint": "eslint src", |
| 30 | + "lint:css": "stylelint './src/**/*.js'", |
30 | 31 | "prepublish": "npm run build", |
31 | 32 | "lint-staged": "lint-staged", |
32 | 33 | "styleguide": "styleguidist server", |
|
58 | 59 | "Adrien Gadaud <adrien.gadaud@yeutech.vn>" |
59 | 60 | ], |
60 | 61 | "license": "MIT", |
61 | | - "eslintConfig": { |
62 | | - "parser": "babel-eslint", |
63 | | - "extends": "airbnb-base", |
64 | | - "env": { |
65 | | - "browser": true, |
66 | | - "node": true, |
67 | | - "jest": true, |
68 | | - "es6": true |
69 | | - }, |
70 | | - "parserOptions": { |
71 | | - "ecmaVersion": 6, |
72 | | - "sourceType": "module" |
73 | | - }, |
74 | | - "rules": { |
75 | | - "arrow-parens": [ |
76 | | - "error", |
77 | | - "always" |
78 | | - ], |
79 | | - "arrow-body-style": [ |
80 | | - 2, |
81 | | - "as-needed" |
82 | | - ], |
83 | | - "comma-dangle": [ |
84 | | - 2, |
85 | | - "always-multiline" |
86 | | - ], |
87 | | - "import/imports-first": 0, |
88 | | - "import/newline-after-import": 0, |
89 | | - "import/no-dynamic-require": 0, |
90 | | - "import/no-extraneous-dependencies": 0, |
91 | | - "import/no-named-as-default": 0, |
92 | | - "import/no-unresolved": 2, |
93 | | - "import/prefer-default-export": 0, |
94 | | - "indent": [ |
95 | | - 2, |
96 | | - 2, |
97 | | - { |
98 | | - "SwitchCase": 1 |
99 | | - } |
100 | | - ], |
101 | | - "max-len": 0, |
102 | | - "newline-per-chained-call": 0, |
103 | | - "no-confusing-arrow": 0, |
104 | | - "no-console": 1, |
105 | | - "no-else-return": 0, |
106 | | - "no-use-before-define": 0, |
107 | | - "object-curly-newline": 0, |
108 | | - "prefer-template": 2, |
109 | | - "class-methods-use-this": 0, |
110 | | - "require-yield": 0 |
111 | | - } |
112 | | - }, |
113 | 62 | "devDependencies": { |
114 | 63 | "@semantic-release/changelog": "^3.0.0", |
115 | 64 | "@semantic-release/git": "^7.0.5", |
116 | 65 | "@semantic-release/github": "^5.2.1", |
117 | 66 | "@semantic-release/npm": "^4.0.0", |
| 67 | + "@yeutech-lab/rollup-umd-documentation": "^2.4.4", |
118 | 68 | "babel-cli": "^6.26.0", |
119 | 69 | "babel-core": "^6.26.0", |
120 | 70 | "babel-eslint": "^7.2.3", |
|
147 | 97 | "pre-commit": "^1.2.2", |
148 | 98 | "react": "^16.4.1", |
149 | 99 | "react-dom": "^16.4.1", |
150 | | - "react-styleguidist": "7.1.0", |
| 100 | + "react-styleguidist": "^8.0.4", |
151 | 101 | "rimraf": "^2.6.2", |
152 | 102 | "rollup": "^0.57.1", |
153 | 103 | "rollup-plugin-babel": "^3.0.3", |
|
163 | 113 | "rollup-watch": "^4.3.1", |
164 | 114 | "semantic-release": "^15.8.0", |
165 | 115 | "sinon": "^3.3.0", |
| 116 | + "stylelint": "^9.8.0", |
| 117 | + "stylelint-config-recommended": "^2.1.0", |
| 118 | + "stylelint-config-styled-components": "^0.1.1", |
| 119 | + "stylelint-processor-styled-components": "^1.5.1", |
166 | 120 | "toctoc": "^0.3.0", |
167 | 121 | "webpack": "^4.16.1" |
168 | 122 | }, |
|
0 commit comments