123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- {
- "name": "wagtail",
- "version": "1.0.0",
- "repository": "https://github.com/wagtail/wagtail",
- "private": true,
- "babel": {
- "presets": [
- [
- "es2015",
- {
- "modules": false
- }
- ],
- "react"
- ],
- "env": {
- "test": {
- "presets": [
- "es2015",
- "react"
- ]
- },
- "production": {
- "plugins": [
- [
- "transform-react-remove-prop-types",
- {
- "mode": "remove",
- "removeImport": true,
- "ignoreFilenames": [
- "node_modules"
- ]
- }
- ]
- ]
- }
- }
- },
- "jest": {
- "testPathIgnorePatterns": [
- "/node_modules/",
- "/build/"
- ],
- "setupFiles": [
- "./client/tests/adapter.js",
- "./client/tests/stubs.js",
- "./client/tests/mock-fetch.js"
- ],
- "snapshotSerializers": [
- "enzyme-to-json/serializer"
- ]
- },
- "devDependencies": {
- "babel-core": "^6.26.0",
- "babel-jest": "^22.0.3",
- "babel-loader": "^7.1.2",
- "babel-plugin-transform-react-remove-prop-types": "^0.4.12",
- "babel-preset-es2015": "^6.24.1",
- "babel-preset-react": "^6.24.1",
- "enzyme": "^3.2.0",
- "enzyme-adapter-react-16": "^1.1.1",
- "enzyme-to-json": "^3.3.0",
- "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",
- "expose-loader": "^0.7.4",
- "gulp": "^3.9.1",
- "gulp-autoprefixer": "~4.0.0",
- "gulp-cssnano": "^2.1.2",
- "gulp-rename": "^1.2.2",
- "gulp-sass": "^4.0.1",
- "gulp-size": "^2.1.0",
- "gulp-sourcemaps": "~2.6.1",
- "gulp-util": "~3.0.8",
- "jest": "^22.0.3",
- "mustache": "^2.2.1",
- "npm-run-all": "^4.1.2",
- "react-test-renderer": "^16.2.0",
- "redux-mock-store": "^1.3.0",
- "stylelint": "^8.4.0",
- "stylelint-scss": "^2.2.0",
- "webpack": "^3.10.0"
- },
- "dependencies": {
- "core-js": "^2.5.3",
- "draft-js": "0.10.5",
- "draftail": "^0.17.2",
- "element-closest": "^2.0.2",
- "focus-trap-react": "^3.1.0",
- "prop-types": "^15.6.0",
- "react": "^16.2.0",
- "react-dom": "^16.2.0",
- "react-redux": "^5.0.6",
- "react-transition-group": "^1.1.3",
- "redux": "^3.7.2",
- "redux-thunk": "^2.2.0",
- "whatwg-fetch": "^2.0.3"
- },
- "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/"
- }
- }
|