regexper-static/package.json
Jeff Avallone 7238643740 Reworking static page generation
Including styles in components wasn't working with the old system.
2018-02-13 17:10:32 -05:00

99 lines
2.9 KiB
JSON

{
"name": "regexper",
"version": "1.0.0",
"description": "Regular expression visualization tool using railroad diagrams",
"homepage": "http://regexper.com",
"author": {
"name": "Jeffrey Avallone",
"email": "jeff.avallone@gmail.com"
},
"license": "MIT",
"private": true,
"scripts": {
"start": "webpack-dev-server --config webpack.dev.js",
"start:prod": "run-s build start:http-server",
"start:http-server": "http-server ./build",
"build": "run-s build:webpack build:prerender",
"build:webpack": "webpack --config webpack.prod.js",
"build:prerender": "node ./prerender/prerender.js",
"test": "run-s test:lint 'test:unit --coverage'",
"test:unit": "jest",
"test:lint": "eslint --ignore-path .gitignore .",
"test:watch": "yarn test:unit --watch",
"precommit": "run-s test:lint"
},
"browserslist": [
">1%",
"last 2 versions",
"not ie < 11"
],
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/src/setup-jest.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"\\.svg$": "<rootDir>/src/__mocks__/svgMock.js",
"\\.css$": "<rootDir>/src/__mocks__/styleMock.js"
},
"collectCoverageFrom": [
"src/**/*.js",
"!src/pages/**"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"text-summary",
"html"
]
},
"dependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^22.2.2",
"babel-loader": "^7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.26.0",
"cheerio": "^1.0.0-rc.2",
"copy-webpack-plugin": "^4.4.1",
"css-loader": "^0.28.9",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.1",
"eslint": "^4.17.0",
"eslint-plugin-jest": "^21.8.0",
"eslint-plugin-react": "^7.6.1",
"extract-text-webpack-plugin": "^3.0.2",
"favicons-webpack-plugin-cesco": "^0.0.6",
"feather-icons": "^4.5.0",
"html-webpack-plugin": "^2.30.1",
"i18next": "^10.3.0",
"i18next-browser-languagedetector": "^2.1.0",
"jest": "^22.2.2",
"json-loader": "^0.5.7",
"npm-run-all": "^4.1.2",
"postcss-cssnext": "^3.1.0",
"postcss-loader": "^2.1.0",
"raven-js": "^3.22.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-ga": "^2.4.1",
"react-i18next": "^7.3.6",
"style-loader": "^0.20.1",
"svg-react-loader": "^0.4.5",
"uglifyjs-webpack-plugin": "^1.1.8",
"webpack": "^3.10.0",
"webpack-merge": "^4.1.1",
"webpack-node-externals": "^1.6.0",
"workbox-webpack-plugin": "^2.1.2",
"yaml-loader": "^0.5.0"
},
"devDependencies": {
"http-server": "^0.11.1",
"husky": "^0.14.3",
"webpack-dev-server": "^2.11.1"
}
}