|
27 | 27 | "grunt-contrib-uglify": "~0.2.7",
|
28 | 28 | "grunt-contrib-watch": "~0.5.3",
|
29 | 29 | "grunt-eslint": "^17.3.1",
|
30 |
| - "grunt-postcss": "^0.8.0", |
| 30 | + "grunt-postcss": "~0.8.0", |
31 | 31 | "intern": "2.2.0",
|
32 | 32 | "load-grunt-tasks": "~0.6.0",
|
33 | 33 | "postcss": "^5.0.19",
|
|
41 | 41 | },
|
42 | 42 | "scripts": {
|
43 | 43 | "init": "npm run module && npm run virtualenv && npm run pip && npm install && npm run config",
|
44 |
| - "watch" : "grunt watch", |
| 44 | + "watch": "grunt watch", |
45 | 45 | "build": "grunt",
|
46 | 46 | "module": "git submodule init && git submodule update",
|
47 | 47 | "start": "source env/bin/activate && python run.py",
|
48 |
| - "virtualenv" : "pip install virtualenv && virtualenv env && source env/bin/activate", |
| 48 | + "virtualenv": "pip install virtualenv && virtualenv env && source env/bin/activate", |
49 | 49 | "pip": "pip install -r config/requirements.txt",
|
50 | 50 | "config": "cp config/secrets.py.example config/secrets.py",
|
51 | 51 | "project-update": "pip install --upgrade pip && npm run backend-install && npm update"
|
|
78 | 78 | },
|
79 | 79 | "rules": {
|
80 | 80 | "comma-dangle": 0,
|
81 |
| - "curly": [2, "all"], |
82 |
| - "eqeqeq": [2, "smart"], |
83 |
| - "indent": [2, 2], |
84 |
| - "linebreak-style": [2, "unix"], |
| 81 | + "curly": [ |
| 82 | + 2, |
| 83 | + "all" |
| 84 | + ], |
| 85 | + "eqeqeq": [ |
| 86 | + 2, |
| 87 | + "smart" |
| 88 | + ], |
| 89 | + "indent": [ |
| 90 | + 2, |
| 91 | + 2 |
| 92 | + ], |
| 93 | + "linebreak-style": [ |
| 94 | + 2, |
| 95 | + "unix" |
| 96 | + ], |
85 | 97 | "new-cap": 2,
|
86 | 98 | "no-cond-assign": 0,
|
87 | 99 | "no-spaced-func": 2,
|
88 | 100 | "no-use-before-define": 2,
|
89 |
| - "one-var": [2, "never"], |
90 |
| - "quotes": [2, "single"], |
91 |
| - "semi": [2, "always"], |
| 101 | + "one-var": [ |
| 102 | + 2, |
| 103 | + "never" |
| 104 | + ], |
| 105 | + "quotes": [ |
| 106 | + 2, |
| 107 | + "single" |
| 108 | + ], |
| 109 | + "semi": [ |
| 110 | + 2, |
| 111 | + "always" |
| 112 | + ], |
92 | 113 | "space-after-keywords": 2,
|
93 | 114 | "space-before-blocks": 2,
|
94 |
| - "space-before-function-paren": [2, "never"], |
95 |
| - "space-before-keywords": [2, "always"], |
| 115 | + "space-before-function-paren": [ |
| 116 | + 2, |
| 117 | + "never" |
| 118 | + ], |
| 119 | + "space-before-keywords": [ |
| 120 | + 2, |
| 121 | + "always" |
| 122 | + ], |
96 | 123 | "space-infix-ops": 2,
|
97 | 124 | "space-return-throw-case": 2,
|
98 | 125 | "space-unary-ops": 2
|
99 | 126 | }
|
100 | 127 | },
|
101 |
| - "license": "MPL-2.0" |
| 128 | + "license": "MPL-2.0" |
102 | 129 | }
|
0 commit comments