Skip to content

Commit efbeb4b

Browse files
committed
Update playground dependencies
1 parent 0841900 commit efbeb4b

27 files changed

+45805
-128886
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
playground/node_modules
2+
playground/jspm_packages
3+
playground/build.js

.eslintrc

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"env": {
3+
"es6": true,
4+
"node": true,
5+
"browser": true,
6+
},
7+
"parserOptions": {
8+
"ecmaVersion": 6,
9+
"sourceType": "module",
10+
"ecmaFeatures": {
11+
"jsx": true
12+
},
13+
},
14+
"extends": "eslint:recommended",
15+
"plugins": [
16+
"react"
17+
],
18+
"rules": {
19+
20+
}
21+
}

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@
2323
"chai": "^4.1.1",
2424
"chai-as-promised": "^7.1.1",
2525
"clean-css": "^4.1.7",
26+
"eslint": "^4.4.1",
27+
"eslint-plugin-react": "^7.1.0",
2628
"gulp": "^3.8.11",
2729
"gulp-eslint": "^4.0.0",
2830
"gulp-mocha": "^4.3.1",
2931
"mocha": "^3.5.0"
3032
},
3133
"scripts": {
32-
"test": "gulp"
34+
"test": "gulp",
35+
"lint": "eslint ."
3336
}
3437
}

playground/.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
jspm_packages
3+
build.js

playground/.jshintrc

-3
This file was deleted.

playground/.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

playground/README.md

-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ The code playground for `postcss-css-variables` is [available live here](https:/
66

77
# Build
88

9-
## Prerequisites
10-
11-
- [io.js](https://iojs.org/en/index.html) *or Node.js with support for template strings (not currently available)*
12-
13-
## Instructions:
14-
159
Run once to set everything up:
1610

1711
`npm install`

0 commit comments

Comments
 (0)