2015-04-25 05:46:15 +00:00
|
|
|
{
|
|
|
|
"name": "wagtail",
|
|
|
|
"version": "1.0.0",
|
2016-12-15 11:49:49 +00:00
|
|
|
"repository": "https://github.com/wagtail/wagtail",
|
2015-04-25 05:46:15 +00:00
|
|
|
"private": true,
|
2017-06-07 13:09:09 +00:00
|
|
|
"babel": {
|
|
|
|
"presets": [
|
2017-06-12 15:28:57 +00:00
|
|
|
[
|
|
|
|
"es2015",
|
|
|
|
{
|
|
|
|
"modules": false
|
|
|
|
}
|
|
|
|
],
|
2017-06-07 13:09:09 +00:00
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"lodash"
|
2017-06-12 15:28:57 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"presets": [
|
|
|
|
"es2015",
|
|
|
|
"react"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2017-06-07 13:09:09 +00:00
|
|
|
},
|
2016-06-17 13:48:33 +00:00
|
|
|
"jest": {
|
|
|
|
"setupFiles": [
|
2017-02-12 15:29:56 +00:00
|
|
|
"./client/tests/stubs.js",
|
|
|
|
"./client/tests/mock-fetch.js"
|
2016-06-17 13:48:33 +00:00
|
|
|
],
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
|
|
|
]
|
|
|
|
},
|
2015-04-25 05:46:15 +00:00
|
|
|
"devDependencies": {
|
2017-06-07 09:39:24 +00:00
|
|
|
"babel-core": "^6.24.1",
|
2017-05-28 18:49:05 +00:00
|
|
|
"babel-jest": "^20.0.3",
|
2017-06-07 09:39:24 +00:00
|
|
|
"babel-loader": "^7.0.0",
|
2017-02-09 15:52:07 +00:00
|
|
|
"babel-plugin-lodash": "^3.2.11",
|
2017-06-07 09:39:24 +00:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
2017-05-28 18:49:05 +00:00
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
"enzyme": "^2.8.2",
|
|
|
|
"enzyme-to-json": "^1.5.1",
|
2016-02-26 21:10:54 +00:00
|
|
|
"eslint": "^2.9.0",
|
2017-04-10 19:34:15 +00:00
|
|
|
"eslint-config-wagtail": "0.1.1",
|
|
|
|
"eslint-import-resolver-webpack": "^0.8.1",
|
2016-02-26 21:10:54 +00:00
|
|
|
"eslint-plugin-import": "^1.8.1",
|
|
|
|
"eslint-plugin-jsx-a11y": "^1.5.3",
|
2016-06-17 13:48:33 +00:00
|
|
|
"eslint-plugin-react": "^5.2.2",
|
2017-08-10 21:32:04 +00:00
|
|
|
"gulp": "^3.9.1",
|
2015-09-25 16:14:46 +00:00
|
|
|
"gulp-autoprefixer": "~3.0.2",
|
2015-04-25 05:46:15 +00:00
|
|
|
"gulp-rename": "^1.2.2",
|
2017-08-10 21:32:04 +00:00
|
|
|
"gulp-sass": "3.1.0",
|
2015-09-25 16:14:46 +00:00
|
|
|
"gulp-sourcemaps": "~1.5.2",
|
2015-04-25 05:46:15 +00:00
|
|
|
"gulp-util": "~2.2.14",
|
2017-05-28 18:49:05 +00:00
|
|
|
"jest": "^20.0.4",
|
2016-02-24 10:44:14 +00:00
|
|
|
"mustache": "^2.2.1",
|
2017-06-08 21:08:04 +00:00
|
|
|
"react-addons-perf": "^15.4.2",
|
2017-05-28 18:49:05 +00:00
|
|
|
"react-test-renderer": "^15.5.4",
|
2017-02-12 15:29:56 +00:00
|
|
|
"redux-mock-store": "^1.2.2",
|
2017-06-07 09:39:24 +00:00
|
|
|
"webpack": "^2.6.1"
|
2016-02-24 10:44:14 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-05-28 18:49:05 +00:00
|
|
|
"focus-trap-react": "^3.0.3",
|
2016-06-17 13:48:33 +00:00
|
|
|
"lodash": "^4.17.4",
|
2017-06-07 13:39:45 +00:00
|
|
|
"object-assign": "^4.1.1",
|
|
|
|
"promise": "^7.1.1",
|
2017-05-28 18:49:05 +00:00
|
|
|
"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",
|
2016-06-17 13:48:33 +00:00
|
|
|
"redux": "^3.6.0",
|
|
|
|
"redux-thunk": "^2.2.0",
|
|
|
|
"whatwg-fetch": "^2.0.2"
|
2015-04-25 05:46:15 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-06-07 12:56:51 +00:00
|
|
|
"postinstall": "npm --prefix client install",
|
2017-02-12 15:29:56 +00:00
|
|
|
"build": "gulp build; webpack --config ./client/webpack/prod.config.js",
|
|
|
|
"watch": "webpack --config ./client/webpack/dev.config.js & gulp watch",
|
2016-02-24 10:44:14 +00:00
|
|
|
"start": "npm run watch",
|
2016-12-19 18:03:14 +00:00
|
|
|
"lint:js": "eslint --max-warnings 16 ./client",
|
2016-02-24 10:44:14 +00:00
|
|
|
"lint": "npm run lint:js",
|
|
|
|
"test": "npm run test:unit",
|
2016-06-17 13:48:33 +00:00
|
|
|
"test:unit": "jest",
|
|
|
|
"test:unit:watch": "jest --watch",
|
|
|
|
"test:unit:coverage": "jest --coverage",
|
2016-02-24 10:44:14 +00:00
|
|
|
"component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
|
2015-04-25 05:46:15 +00:00
|
|
|
}
|
2015-04-25 05:48:06 +00:00
|
|
|
}
|