mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-27 15:56:30 +01:00
64 lines
2.0 KiB
JSON
64 lines
2.0 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": {},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.5.1",
|
|
"babel-core": "^6.5.2",
|
|
"babel-loader": "^6.2.3",
|
|
"babel-preset-es2015": "^6.5.0",
|
|
"babel-preset-react": "^6.5.0",
|
|
"chai": "^3.5.0",
|
|
"eslint": "^2.2.0",
|
|
"eslint-config-airbnb": "^6.0.2",
|
|
"eslint-plugin-react": "^4.1.0",
|
|
"glob": "^7.0.0",
|
|
"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",
|
|
"isparta": "^4.0.0",
|
|
"lodash": "^4.5.1",
|
|
"mocha": "^2.4.5",
|
|
"mustache": "^2.2.1",
|
|
"redux-devtools": "^3.1.1",
|
|
"require-dir": "^0.3.0",
|
|
"sinon": "^1.17.3"
|
|
},
|
|
"dependencies": {
|
|
"exports-loader": "^0.6.3",
|
|
"imports-loader": "^0.6.5",
|
|
"react": "^0.14.7",
|
|
"react-dom": "^0.14.7",
|
|
"react-redux": "^4.4.0",
|
|
"redux": "^3.3.1",
|
|
"webpack": "^1.12.14",
|
|
"whatwg-fetch": "^0.11.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "cd ./client; npm install; cd ..",
|
|
"build": "gulp build; webpack --progress --colors --config ./client/webpack/prod.config.js",
|
|
"watch": "webpack --progress --colors --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": "env NODE_PATH=$NODE_PATH:$PWD/client/src mocha --compilers js:babel-core/register client/tests/**/*.test.js",
|
|
"test:unit:coverage": "env NODE_PATH=$NODE_PATH:$PWD/client/src babel-node $(npm bin)/isparta cover node_modules/mocha/bin/_mocha -- client/tests/**/*.test.js",
|
|
"component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
|
|
}
|
|
}
|