mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 13:10:14 +01:00
104 lines
2.8 KiB
JSON
104 lines
2.8 KiB
JSON
{
|
|
"name": "wagtail",
|
|
"version": "1.0.0",
|
|
"repository": "https://github.com/wagtail/wagtail",
|
|
"private": true,
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"es2015",
|
|
{
|
|
"modules": false
|
|
}
|
|
],
|
|
"react"
|
|
],
|
|
"plugins": [
|
|
"lodash"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"presets": [
|
|
"es2015",
|
|
"react"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"./client/tests/stubs.js",
|
|
"./client/tests/mock-fetch.js"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.24.1",
|
|
"babel-jest": "^20.0.3",
|
|
"babel-loader": "^7.0.0",
|
|
"babel-plugin-lodash": "^3.2.11",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"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",
|
|
"gulp": "^3.9.1",
|
|
"gulp-autoprefixer": "~3.0.2",
|
|
"gulp-cssnano": "^2.1.2",
|
|
"gulp-rename": "^1.2.2",
|
|
"gulp-sass": "^3.1.0",
|
|
"gulp-size": "^2.1.0",
|
|
"gulp-sourcemaps": "~1.5.2",
|
|
"gulp-util": "~2.2.14",
|
|
"jest": "^20.0.4",
|
|
"mustache": "^2.2.1",
|
|
"npm-run-all": "^4.1.1",
|
|
"react-addons-perf": "^15.4.2",
|
|
"react-test-renderer": "^15.6.2",
|
|
"redux-mock-store": "^1.2.2",
|
|
"stylelint": "^8.0.0",
|
|
"stylelint-scss": "^2.0.1",
|
|
"webpack": "^2.6.1"
|
|
},
|
|
"dependencies": {
|
|
"focus-trap-react": "^3.0.3",
|
|
"lodash": "^4.17.4",
|
|
"object-assign": "^4.1.1",
|
|
"promise": "^7.1.1",
|
|
"prop-types": "^15.5.10",
|
|
"react": "^15.6.2",
|
|
"react-dom": "^15.6.2",
|
|
"react-redux": "^5.0.5",
|
|
"react-transition-group": "^1.1.3",
|
|
"redux": "^3.6.0",
|
|
"redux-thunk": "^2.2.0",
|
|
"whatwg-fetch": "^2.0.2"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "npm --prefix client install",
|
|
"build": "npm run gulp:prod:build && npm run webpack:prod:build",
|
|
"dist": "NODE_ENV=production npm run build",
|
|
"watch": "npm-run-all --parallel gulp:dev:watch webpack:dev:watch",
|
|
"start": "npm run watch",
|
|
"gulp:dev:watch": "gulp watch",
|
|
"gulp:prod:build": "gulp build",
|
|
"webpack:dev:watch": "webpack --config ./client/webpack/dev.config.js",
|
|
"webpack:prod:build": "webpack --config ./client/webpack/prod.config.js",
|
|
"lint:js": "eslint --max-warnings 16 ./client",
|
|
"lint:css": "stylelint **/*.scss",
|
|
"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/"
|
|
}
|
|
}
|