0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
wagtail/package.json
Janneke Janssen f4f0e78f6a Update React & Jest (#3611)
* Update to the latest jest version

* Update react dependencies

* Migrate React.PropTypes to PropTypes package

* Add prop-types to the package.json

* Update transition-group import to its new package

* Update jest snapshots

* Exclude node_modules from webpack babel-loader
2017-05-28 21:49:05 +03:00

85 lines
2.3 KiB
JSON

{
"name": "wagtail",
"version": "1.0.0",
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">= 4"
},
"browser": {},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {},
"jest": {
"setupFiles": [
"./client/tests/stubs.js",
"./client/tests/mock-fetch.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-jest": "^20.0.3",
"babel-loader": "^6.2.10",
"babel-plugin-lodash": "^3.2.11",
"babel-polyfill": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.24.1",
"enzyme": "^2.8.2",
"enzyme-to-json": "^1.5.1",
"eslint": "^2.9.0",
"eslint-config-wagtail": "0.1.1",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-import": "^1.8.1",
"eslint-plugin-jsx-a11y": "^1.5.3",
"eslint-plugin-react": "^5.2.2",
"exports-loader": "^0.6.3",
"gulp": "~3.8.11",
"gulp-autoprefixer": "~3.0.2",
"gulp-rename": "^1.2.2",
"gulp-sass": "~2.3.1",
"gulp-sourcemaps": "~1.5.2",
"gulp-util": "~2.2.14",
"imports-loader": "^0.6.5",
"jest": "^20.0.4",
"mustache": "^2.2.1",
"react-addons-test-utils": "^15.4.2",
"react-test-renderer": "^15.5.4",
"redux-mock-store": "^1.2.2",
"require-dir": "^0.3.0",
"webpack": "^1.12.14"
},
"dependencies": {
"focus-trap-react": "^3.0.3",
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"react": "^15.5.4",
"react-dom": "^15.5.4",
"react-redux": "^5.0.5",
"react-transition-group": "^1.1.3",
"redux": "^3.6.0",
"redux-actions": "^2.0.3",
"redux-thunk": "^2.2.0",
"whatwg-fetch": "^2.0.2"
},
"scripts": {
"postinstall": "cd ./client; npm install; cd ..",
"build": "gulp build; webpack --config ./client/webpack/prod.config.js",
"watch": "webpack --config ./client/webpack/dev.config.js & gulp watch",
"start": "npm run watch",
"lint:js": "eslint --max-warnings 16 ./client",
"lint": "npm run lint:js",
"test": "npm run test:unit",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
}
}