Skip to content

Commit

Permalink
add nsp & run in test suite
Browse files Browse the repository at this point in the history
fixes #1637

update some dependencies

remove medium-editor-insert-plugin

fixes #2127

fix case in property

fixes #2475

remove purest, add blueimp-file-upload

blueimp-file-upload was an implicit dependency from the medium-editor-insert-plugin
but we explicitly require it in our webpack config

update co-body

update deps (fixes #2436) and remove fsevents (unused)

update koa-static-cache

Co-authored-by: Originate <originated@users.noreply.github.com>
  • Loading branch information
bnchdrff and originated committed Feb 8, 2018
1 parent 63b561e commit 0eec25e
Show file tree
Hide file tree
Showing 5 changed files with 1,057 additions and 1,711 deletions.
21 changes: 9 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "index.js",
"scripts": {
"build": "NODE_ENV=production webpack --config ./webpack/prod.config.js && rm -rf ./lib && babel src --out-dir lib -Dq",
"test": "jest",
"test": "jest && nsp check --output summary",
"eslint": "LIST=`git diff-index --name-only HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi",
"fmt": "prettier --config .prettierrc --write 'src/**/*.js*'",
"precommit": "lint-staged",
Expand Down Expand Up @@ -39,12 +39,13 @@
"babel-preset-stage-0": "6.24.1",
"bigi": "1.4.2",
"blocked": "1.2.1",
"blueimp-file-upload": "9.12.6",
"bs58": "3.1.0",
"bytebuffer": "5.0.1",
"bytes": "2.5.0",
"classnames": "2.2.5",
"cluster": "0.7.7",
"co-body": "4.2.0",
"co-body": "5.1.1",
"config": "1.26.2",
"counterpart": "0.17.9",
"cpu-stat": "2.0.1",
Expand Down Expand Up @@ -81,18 +82,17 @@
"koa-route": "2.4.2",
"koa-router": "5.4.2",
"koa-session": "3.4.0",
"koa-static-cache": "3.2.0",
"koa-static-cache": "5.1.2",
"lodash.debounce": "4.0.8",
"medium-editor-insert-plugin": "2.4.1",
"mem-stat": "1.0.5",
"minimist": "1.2.0",
"mixpanel": "0.5.0",
"mysql": "2.15.0",
"net": "1.0.2",
"node-sass": "4.5.3",
"node-sass": "4.7.2",
"nsp": "3.1.0",
"os": "0.1.1",
"picturefill": "3.0.2",
"purest": "2.0.1",
"raw-loader": "0.5.1",
"react": "15.6.2",
"react-ab-test": "1.7.0",
Expand Down Expand Up @@ -126,7 +126,7 @@
"secure-random": "1.1.1",
"sendgrid": "4.10.0",
"sequelize": "3.30.4",
"sequelize-cli": "2.8.0",
"sequelize-cli": "3.2.0",
"speakingurl": "9.0.0",
"sqlite3": "3.1.13",
"store": "1.3.20",
Expand All @@ -135,10 +135,10 @@
"svg-inline-react": "1.0.3",
"svgo-loader": "1.2.1",
"tarantool-driver": "2.0.5",
"twilio": "2.11.1",
"twilio": "3.11.2",
"uncontrollable": "3.3.1",
"underscore.string": "3.3.4",
"url-loader": "0.5.9",
"url-loader": "0.6.2",
"web-push": "3.2.3",
"webpack": "3.7.1",
"webpack-dev-middleware": "1.12.0",
Expand Down Expand Up @@ -182,9 +182,6 @@
"supertest": "1.2.0",
"webpack-bundle-analyzer": "2.9.0"
},
"optionalDependencies": {
"fsevents": "*"
},
"engines": {
"node": ">=8.7.0",
"npm": ">=5.4.2"
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/cards/CategorySelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class CategorySelector extends React.Component {
ref="categoryRef"
tabIndex={tabIndex}
disabled={disabled}
autocapitalize="none"
autoCapitalize="none"
/>
);

Expand Down
4 changes: 0 additions & 4 deletions webpack/base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ module.exports = {
test: require.resolve("blueimp-file-upload"),
use: "imports?define=>false"
},
{
test: require.resolve("medium-editor-insert-plugin"),
use: "imports?define=>false"
},
{
test: /\.css$/,
use: css_loaders
Expand Down
6 changes: 1 addition & 5 deletions webpack/storybook.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ module.exports = (baseConfig, env) => {
test: require.resolve("blueimp-file-upload"),
use: "imports?define=>false"
},
{
test: require.resolve("medium-editor-insert-plugin"),
use: "imports?define=>false"
},
{
test: /\.css$/,
use: css_loaders
Expand All @@ -85,4 +81,4 @@ module.exports = (baseConfig, env) => {
]
};
return config;
};
};

0 comments on commit 0eec25e

Please sign in to comment.