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