mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 20:15:10 +01:00
f4045ba3d9
* Add eslint-plugin-jsx-a11y. * Fix npm script. * Adjust npm scripts so test also runs lint. * Fix existing lint errors. * Don't break on a11y issues. * Add role and tabIndex. * Add vim and Mac files to .gitignore and .dockerignore. * Handle htmlFor (partially), a that's actually a button. * Fix missing tabIndex. * Add cursor:pointer to load-more * Revert change to load_more. * Fixes based on review. * Update yarn.lock. * Don't try to install fsevents on Linux (hides warning noise).
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "mastodon",
|
|
"scripts": {
|
|
"start": "babel-node ./streaming/index.js --presets es2015,stage-2",
|
|
"storybook": "start-storybook -p 9001 -c storybook",
|
|
"test": "npm run test:lint && npm run test:mocha",
|
|
"test:lint": "eslint -c .eslintrc --ext=js --ext=jsx app/assets/javascripts/",
|
|
"test:mocha": "mocha --require ./spec/javascript/setup.js --compilers js:babel-register ./spec/javascript/components/*.test.jsx"
|
|
},
|
|
"dependencies": {
|
|
"@kadira/storybook": "^2.35.3",
|
|
"axios": "^0.15.3",
|
|
"babel-cli": "^6.23.0",
|
|
"babel-plugin-react-transform": "^2.0.2",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
"babel-preset-es2015": "^6.22.0",
|
|
"babel-preset-react": "^6.11.1",
|
|
"babel-preset-stage-2": "^6.22.0",
|
|
"babelify": "^7.3.0",
|
|
"browserify": "^14.1.0",
|
|
"browserify-incremental": "^3.1.1",
|
|
"bufferutil": "^2.0.1",
|
|
"chai": "^3.5.0",
|
|
"chai-enzyme": "^0.6.1",
|
|
"css-loader": "^0.26.2",
|
|
"dotenv": "^4.0.0",
|
|
"emojione": "^2.2.7",
|
|
"emojione-picker": "^2.0.1",
|
|
"enzyme": "^2.7.1",
|
|
"es6-promise": "^3.2.1",
|
|
"escape-html": "^1.0.3",
|
|
"eventsource": "^0.2.1",
|
|
"express": "^4.14.1",
|
|
"http-link-header": "^0.8.0",
|
|
"immutable": "^3.8.1",
|
|
"intl": "^1.2.5",
|
|
"jsdom": "^9.11.0",
|
|
"mocha": "^3.2.0",
|
|
"node-sass": "^4.5.0",
|
|
"npmlog": "^4.0.2",
|
|
"pg": "^6.1.2",
|
|
"react": "^15.4.2",
|
|
"react-addons-perf": "^15.4.2",
|
|
"react-addons-pure-render-mixin": "^15.4.2",
|
|
"react-addons-shallow-compare": "^15.4.2",
|
|
"react-addons-test-utils": "^15.4.2",
|
|
"react-autosuggest": "^7.0.1",
|
|
"react-decoration": "^1.4.0",
|
|
"react-dom": "^15.4.2",
|
|
"react-imageloader": "^2.1.0",
|
|
"react-immutable-proptypes": "^2.1.0",
|
|
"react-intl": "^2.1.5",
|
|
"react-motion": "^0.4.5",
|
|
"react-notification": "^6.6.0",
|
|
"react-proxy": "^1.1.8",
|
|
"react-redux": "^5.0.3",
|
|
"react-redux-loading-bar": "2.4.1",
|
|
"react-router": "^2.8.0",
|
|
"react-router-scroll": "^0.3.2",
|
|
"react-simple-dropdown": "^1.1.4",
|
|
"react-storybook-addon-intl": "^0.1.0",
|
|
"react-toggle": "^2.1.1",
|
|
"redis": "^2.6.5",
|
|
"redux": "^3.6.0",
|
|
"redux-immutable": "^3.1.0",
|
|
"redux-thunk": "^2.2.0",
|
|
"reselect": "^2.5.4",
|
|
"sass-loader": "^6.0.2",
|
|
"sinon": "^1.17.6",
|
|
"style-loader": "^0.13.2",
|
|
"utf-8-validate": "^3.0.1",
|
|
"uuid": "^3.0.1",
|
|
"webpack": "^2.2.1",
|
|
"websocket.js": "^0.1.7",
|
|
"ws": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^7.2.2",
|
|
"eslint": "^3.19.0",
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
|
"eslint-plugin-react": "^6.10.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "*"
|
|
}
|
|
}
|