Skip to content

Commit 50c35bd

Browse files
committed
Update dev deps
1 parent a694960 commit 50c35bd

6 files changed

Lines changed: 19717 additions & 17398 deletions

File tree

.eslintrc

Lines changed: 2 additions & 195 deletions
Original file line numberDiff line numberDiff line change
@@ -1,197 +1,4 @@
11
{
2-
"parser": "babel-eslint",
3-
"parserOptions": {
4-
"sourceType": "module",
5-
"ecmaVersion": 6,
6-
"ecmaFeatures": {
7-
"jsx": true
8-
}
9-
},
10-
"plugins": [
11-
"react"
12-
],
13-
"env": {
14-
"amd": true,
15-
"browser": true,
16-
"es6": true,
17-
"mocha": true,
18-
"node": true,
19-
"phantomjs": true,
20-
"worker": true
21-
},
22-
"globals": {
23-
"__DEV__": true
24-
},
25-
"rules": {
26-
"comma-dangle": [2, "never"],
27-
"no-comma-dangle": 0,
28-
"no-cond-assign": [0, "except-parens"],
29-
"no-console": 1,
30-
"no-constant-condition": 0,
31-
"no-control-regex": 2,
32-
"no-debugger": 1,
33-
"no-dupe-args": 2,
34-
"no-dupe-keys": 2,
35-
"no-duplicate-case": 2,
36-
"no-empty": 0,
37-
"no-empty-character-class": 2,
38-
"no-ex-assign": 2,
39-
"no-extra-boolean-cast": 2,
40-
"no-extra-parens": 0,
41-
"no-extra-semi": 2,
42-
"no-func-assign": 2,
43-
"no-inner-declarations": 0,
44-
"no-invalid-regexp": 2,
45-
"no-irregular-whitespace": 2,
46-
"no-negated-in-lhs": 2,
47-
"no-obj-calls": 2,
48-
"no-regex-spaces": 2,
49-
"no-reserved-keys": 0,
50-
"no-sparse-arrays": 2,
51-
"no-unreachable": 2,
52-
"use-isnan": 2,
53-
"valid-jsdoc": 0,
54-
"valid-typeof": 2,
55-
"block-scoped-var": 0,
56-
"complexity": 0,
57-
"consistent-return": 0,
58-
"curly": [2, "multi-line"],
59-
"default-case": 0,
60-
"dot-notation": [2, {"allowKeywords": true}],
61-
"eqeqeq": 0,
62-
"guard-for-in": 0,
63-
"no-alert": 1,
64-
"no-caller": 2,
65-
"no-div-regex": 0,
66-
"no-else-return": 2,
67-
"no-labels": [2, {"allowLoop": true, "allowSwitch": true}],
68-
"no-eq-null": 0,
69-
"no-eval": 2,
70-
"no-extend-native": 2,
71-
"no-extra-bind": 2,
72-
"no-fallthrough": 0,
73-
"no-floating-decimal": 2,
74-
"no-implied-eval": 2,
75-
"no-iterator": 2,
76-
"no-lone-blocks": 2,
77-
"no-loop-func": 0,
78-
"no-multi-spaces": 2,
79-
"no-multi-str": 2,
80-
"no-native-reassign": 2,
81-
"no-new": 2,
82-
"no-new-func": 2,
83-
"no-new-wrappers": 2,
84-
"no-octal": 2,
85-
"no-octal-escape": 2,
86-
"no-param-reassign": 0,
87-
"no-process-env": 1,
88-
"no-proto": 2,
89-
"no-redeclare": 2,
90-
"no-return-assign": 0,
91-
"no-script-url": 2,
92-
"no-self-compare": 2,
93-
"no-sequences": 0,
94-
"no-throw-literal": 2,
95-
"no-unused-expressions": 2,
96-
"no-void": 2,
97-
"no-warning-comments": 0,
98-
"no-with": 2,
99-
"radix": 0,
100-
"vars-on-top": 0,
101-
"wrap-iife": 0,
102-
"yoda": [2, "never"],
103-
"global-strict": 0,
104-
"no-extra-strict": 0,
105-
"strict": 0,
106-
"no-catch-shadow": 0,
107-
"no-delete-var": 2,
108-
"no-label-var": 2,
109-
"no-shadow": 0,
110-
"no-shadow-restricted-names": 2,
111-
"no-undef": 2,
112-
"no-undef-init": 2,
113-
"no-undefined": 0,
114-
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
115-
"no-use-before-define": 0,
116-
"handle-callback-err": 0,
117-
"no-mixed-requires": 0,
118-
"no-new-require": 2,
119-
"no-path-concat": 2,
120-
"no-process-exit": 0,
121-
"no-restricted-modules": 0,
122-
"no-sync": 0,
123-
"indent": 0,
124-
"indent-legacy": [2, 2],
125-
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
126-
"camelcase": [1, {"properties": "never"}],
127-
"comma-spacing": [2, {"before": false, "after": true}],
128-
"comma-style": [2, "last"],
129-
"consistent-this": 0,
130-
"eol-last": 2,
131-
"func-names": 0,
132-
"func-style": [2, "expression"],
133-
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
134-
"max-nested-callbacks": [1, 3],
135-
"new-cap": 0,
136-
"new-parens": 2,
137-
"newline-after-var": 0,
138-
"no-array-constructor": 2,
139-
"no-inline-comments": 2,
140-
"no-lonely-if": 2,
141-
"no-mixed-spaces-and-tabs": 2,
142-
"no-multiple-empty-lines": [2, {"max": 1}],
143-
"no-nested-ternary": 0,
144-
"no-new-object": 2,
145-
"no-space-before-semi": 0,
146-
"no-spaced-func": 2,
147-
"no-ternary": 0,
148-
"no-trailing-spaces": 2,
149-
"no-underscore-dangle": 0,
150-
"one-var": 0,
151-
"operator-assignment": [2, "always"],
152-
"padded-blocks": 0,
153-
"quote-props": [2, "as-needed"],
154-
"quotes": [2, "single", "avoid-escape"],
155-
"semi": [2, "always"],
156-
"semi-spacing": [2, {"before": false, "after": true}],
157-
"sort-vars": 0,
158-
"space-after-function-name": 0,
159-
"keyword-spacing": 2,
160-
"space-before-blocks": [2, "always"],
161-
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
162-
"space-before-function-parentheses": 0,
163-
"space-in-parens": [2, "never"],
164-
"object-curly-spacing": [2, "never"],
165-
"array-bracket-spacing": [2, "never"],
166-
"computed-property-spacing": [2, "never"],
167-
"space-infix-ops": [2],
168-
"space-unary-ops": [2, {"words": true, "nonwords": false}],
169-
"space-unary-word-ops": 0,
170-
"spaced-comment": [2, "always"],
171-
"wrap-regex": 0,
172-
"no-var": 0,
173-
"generator-star": 0,
174-
"generator-star-spacing": [2, "before"],
175-
"max-depth": [1, 3],
176-
"max-len": [1, 80, 4],
177-
"max-params": [1, 4],
178-
"max-statements": 0,
179-
"no-bitwise": 0,
180-
"no-plusplus": 0,
181-
"react/display-name": 0,
182-
"react/jsx-boolean-value": 0,
183-
"jsx-quotes": [2, "prefer-single"],
184-
"react/jsx-no-undef": 2,
185-
"react/jsx-sort-props": 0,
186-
"react/jsx-uses-react": 2,
187-
"react/jsx-uses-vars": 2,
188-
"react/jsx-wrap-multilines": [2, {"arrow": false, "assignment": false, "declaration": false, "return": true}],
189-
"react/no-did-mount-set-state": 0,
190-
"react/no-did-update-set-state": 0,
191-
"react/no-multi-comp": 0,
192-
"react/no-unknown-property": 2,
193-
"react/prop-types": 0,
194-
"react/react-in-jsx-scope": 2,
195-
"react/self-closing-comp": 2
196-
}
2+
"extends": "coderiety",
3+
"env": {"browser": true, "es6": true, "node": true}
1974
}

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ BIN=node_modules/.bin/
22
COGS=$(BIN)cogs
33
.DEFAULT_GOAL := build
44

5-
install: package.json
5+
package-lock.json: package.json
6+
npm install --package-lock-only
7+
8+
node_modules: package-lock.json
69
npm install
710

8-
build: install
11+
build: node_modules
912
$(COGS)
1013

11-
dev: install
14+
dev: node_modules
1215
$(COGS) -w docs/index.es6 -w react-list.es6

cogs.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = [
44
'eslint',
55
{
66
name: 'babel',
7+
only: 'react-list.es6',
78
options: {
89
presets: ['es2015', 'stage-0', 'react'],
910
plugins: [['transform-es2015-modules-umd', {
@@ -19,7 +20,7 @@ module.exports = [
1920
}
2021
}
2122
],
22-
builds: {'react-list.es6': 'react-list.js'}
23+
builds: {'react-list.es6': {ext: {'.es6': '.js'}}}
2324
},
2425
{
2526
transformers: [
@@ -30,12 +31,16 @@ module.exports = [
3031
patterns: {'process.env.NODE_ENV': "'development'"}
3132
}
3233
},
33-
{name: 'babel', options: {presets: ['es2015', 'stage-0', 'react']}},
34+
{
35+
name: 'babel',
36+
only: 'docs/index.es6',
37+
options: {presets: ['es2015', 'stage-0', 'react']}
38+
},
3439
{
3540
name: 'concat-commonjs',
3641
options: {entry: 'docs/index.es6', extensions: ['.es6', '.js']}
3742
}
3843
],
39-
builds: {'docs/index.es6': 'docs/index.js'}
44+
builds: {'docs/index.es6': {ext: {'.es6': '.js'}}}
4045
}
4146
];

0 commit comments

Comments
 (0)