64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"scripts": {
|
|
"test": "jest --verbose --coverage && mocha --compilers js:mocha-traceur tests/**/*.spec.js",
|
|
"test-react": "jest --verbose --coverage",
|
|
"test-js": "node_modules/.bin/phantomjs tests/run.js",
|
|
"start": "npm install && bower install && gulp",
|
|
"watch": "gulp watch",
|
|
"lint": "jsxhint --jsx-only .",
|
|
"postinstall": "gulp postinstall"
|
|
},
|
|
"pre-commit": [
|
|
"lint"
|
|
],
|
|
"jest": {
|
|
"testFileExtensions": [
|
|
"jest.js"
|
|
],
|
|
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
|
|
"testDirectoryName": "tests",
|
|
"unmockedModulePathPatterns": [
|
|
"<rootDir>/node_modules/react"
|
|
]
|
|
},
|
|
"private": true,
|
|
"devDependencies": {
|
|
"babel-jest": "^5.3.0",
|
|
"bower": "^1.4.1",
|
|
"chai": "^3.0.0",
|
|
"del": "^1.2.0",
|
|
"gulp": "^3.8.8",
|
|
"jest-cli": "github:facebook/jest#0.5.x",
|
|
"jshint": "^2.8.0",
|
|
"jsxhint": "^0.15.1",
|
|
"laravel-elixir": "*",
|
|
"mocha": "^2.5.3",
|
|
"mocha-sinon": "^1.1.4",
|
|
"mocha-traceur": "^2.1.0",
|
|
"precommit-hook": "^2.0.1",
|
|
"react-tools": "^0.13.3",
|
|
"sinon": "^1.15.4",
|
|
"sinon-chai": "^2.8.0",
|
|
"sinon-chrome": "^0.2.1"
|
|
},
|
|
"dependencies": {
|
|
"bootstrap": "^3.3.4",
|
|
"classnames": "^2.1.2",
|
|
"jquery": "^2.1.3",
|
|
"moment": "^2.10.3",
|
|
"react": "^0.13.3"
|
|
},
|
|
"jshintConfig": {
|
|
"asi": false,
|
|
"browser": true,
|
|
"curly": false,
|
|
"expr": true,
|
|
"indent": 4,
|
|
"loopfunc": true,
|
|
"node": true,
|
|
"trailing": true,
|
|
"undef": true,
|
|
"white": true
|
|
}
|
|
}
|