Initial commit

This commit is contained in:
Jan Tuomi
2018-06-20 09:35:41 +03:00
commit 19ed49ae3d
27 changed files with 21606 additions and 0 deletions
+75
View File
@@ -0,0 +1,75 @@
{
"name": "web2.0-frontend",
"version": "0.1.0",
"description": "Web 2.0 Frontend. React, Typescript.",
"keywords": [
"react",
"webpack",
"typescript",
"babel",
"sass",
"hmr",
"starter",
"boilerplate"
],
"author": "Jan Tuomi",
"license": "MIT",
"homepage": "https://sik.ayy.fi",
"scripts": {
"build": "npm run clean-dist && webpack -p --config=configs/webpack/prod.js",
"clean-dist": "rm -f -r -d dist",
"lint": "npm run lint:ts && npm run lint:sass",
"lint:ts": "tslint './src/**/*.ts*' --format stylish --force",
"lint:sass": "stylelint ./src/**/*.scss",
"start": "npm run start-dev",
"start-dev": "webpack-dev-server --config=configs/webpack/dev.js",
"test": "npm-run-all test:unit test:e2e",
"serve": "node express.js",
"start-prod": "npm run build && npm run serve",
"test:unit": "jest --watch --coverage --config=configs/jest.json",
"test:e2e": "npm-run-all -s build -p -r serve test:e2e:run",
"test:e2e:run": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe"
},
"devDependencies": {
"@types/jest": "^23.0.0",
"@types/node": "^10.3.1",
"@types/react": "^16.3.16",
"@types/react-dom": "^16.0.6",
"awesome-typescript-loader": "^5.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.11",
"express": "^4.16.3",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"image-webpack-loader": "^4.3.0",
"jest": "^23.1.0",
"node-sass": "^4.9.0",
"npm-run-all": "^4.1.3",
"postcss-loader": "^2.1.5",
"react": "^16.4.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.4.0",
"react-hot-loader": "^4.3.0",
"sass-loader": "^7.0.3",
"serve": "^9.1.0",
"style-loader": "^0.21.0",
"stylelint": "^9.2.1",
"stylelint-config-standard": "^18.2.0",
"stylelint-webpack-plugin": "^0.10.5",
"testcafe": "^0.20.3",
"tslint": "^5.10.0",
"typescript": "^2.9.1",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.11.1",
"webpack-cli": "^3.0.3",
"webpack-dev-middleware": "^3.1.3",
"webpack-dev-server": "^3.1.4",
"webpack-merge": "^4.1.2"
},
"dependencies": {},
"postcss": {}
}