2018-03-18 20:39:18 +01:00
|
|
|
{
|
|
|
|
"name": "portfolio",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2018-03-25 16:32:49 +02:00
|
|
|
"node-sass-chokidar": "^1.2.1",
|
2018-03-18 20:39:18 +01:00
|
|
|
"npm-run-all": "^4.1.2",
|
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-dom": "^16.2.0",
|
2018-03-25 23:40:10 +02:00
|
|
|
"react-lazyload": "^2.3.0",
|
2018-03-18 20:39:18 +01:00
|
|
|
"react-router-dom": "^4.2.2",
|
2018-03-21 18:56:01 +01:00
|
|
|
"react-scripts": "1.1.1",
|
|
|
|
"react-transition-group": "^2.2.1"
|
2018-03-18 20:39:18 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-eslint": "^8.2.2",
|
2018-03-25 16:32:49 +02:00
|
|
|
"eslint": "^4.19.1",
|
2018-03-18 20:39:18 +01:00
|
|
|
"eslint-plugin-react": "^7.7.0",
|
2018-03-21 18:56:01 +01:00
|
|
|
"jest-cli": "^22.4.3",
|
|
|
|
"stylelint": "^9.1.3",
|
|
|
|
"stylelint-config-standard": "^18.2.0"
|
2018-03-18 20:39:18 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"lint:js": "eslint ./{src,public}/**/*.js",
|
|
|
|
"lint:css": "stylelint ./src/**/*.scss",
|
|
|
|
"lint": "npm run lint:js && npm run lint:css",
|
|
|
|
"build-css": "node-sass-chokidar --include-path src/stylesheets/ src/ -o src/",
|
|
|
|
"watch-css": "npm run build-css && node-sass-chokidar --include-path src/stylesheets/ src/ -o src/ --watch --recursive",
|
|
|
|
"start-js": "react-scripts start",
|
|
|
|
"start": "npm-run-all -p watch-css start-js",
|
|
|
|
"build-js": "react-scripts build",
|
|
|
|
"build": "npm-run-all build-css build-js",
|
|
|
|
"test": "npm run lint && react-scripts test --env=jsdom",
|
|
|
|
"eject": "react-scripts eject"
|
|
|
|
}
|
|
|
|
}
|