regexper-static/package.json

197 lines
4.8 KiB
JSON
Raw Normal View History

{
"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": {
2018-02-10 21:05:25 +00:00
"start": "webpack-dev-server --config webpack.dev.js",
2018-02-10 20:58:29 +00:00
"start:prod": "run-s build start:http-server",
"start:http-server": "http-server ./build",
2018-02-13 22:54:14 +00:00
"build": "cross-env NODE_ENV=production run-s build:webpack build:prerender",
"build:webpack": "webpack --config webpack.prod.js",
"build:prerender": "node ./script/__build__/prerender.js",
2018-02-11 18:10:24 +00:00
"test": "run-s test:lint 'test:unit --coverage'",
"test:unit": "jest",
2018-02-10 23:31:16 +00:00
"test:lint": "eslint --ignore-path .gitignore .",
"test:watch": "yarn test:unit --watch",
"i18n:scrub": "node ./script/i18n-scrub.js",
2018-02-10 23:11:30 +00:00
"precommit": "run-s test:lint"
2018-02-10 20:58:29 +00:00
},
2018-02-11 19:56:39 +00:00
"browserslist": [
">1%",
"last 2 versions",
"not ie < 11"
],
2018-02-15 23:17:40 +00:00
"babel": {
2018-02-16 01:03:04 +00:00
"presets": [
[
"env",
{
"modules": false
}
],
2018-02-16 01:03:04 +00:00
"react"
],
"plugins": [
"transform-runtime",
2018-02-16 01:03:04 +00:00
"transform-class-properties",
"transform-object-rest-spread",
2018-02-16 01:03:04 +00:00
"syntax-dynamic-import"
],
"env": {
"test": {
"presets": [
[
"env",
{
"modules": "commonjs"
}
],
"react"
],
"plugins": [
"transform-runtime",
"transform-class-properties",
"transform-object-rest-spread",
"syntax-dynamic-import"
]
}
}
2018-02-15 23:17:40 +00:00
},
"postcss": {
"plugins": {
"postcss-import": {},
"postcss-cssnext": {}
}
},
2018-02-10 23:30:07 +00:00
"jest": {
2018-02-15 22:22:25 +00:00
"clearMocks": true,
2018-02-15 22:27:15 +00:00
"setupTestFrameworkScriptFile": "<rootDir>/src/setup/jest.js",
2018-02-11 16:58:03 +00:00
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
2018-02-14 01:09:52 +00:00
"modulePaths": [
"src",
"node_modules"
],
2018-02-10 23:30:07 +00:00
"moduleNameMapper": {
2018-02-14 01:09:52 +00:00
"\\.svg$": "__mocks__/svgMock.js",
"\\.css$": "identity-obj-proxy"
2018-02-11 18:10:24 +00:00
},
"collectCoverageFrom": [
"src/**/*.js",
2018-02-15 22:35:12 +00:00
"!src/i18n.js",
2018-02-15 22:22:25 +00:00
"!src/prerender.js",
2018-02-15 22:33:14 +00:00
"!src/setup/service-worker.js",
"!src/setup/jest.js",
2018-02-15 22:22:25 +00:00
"!src/pages/**/config.js",
"!src/pages/**/browser.js"
2018-02-11 18:10:24 +00:00
],
"coverageDirectory": "<rootDir>/coverage",
2018-02-11 19:51:17 +00:00
"coverageReporters": [
"text-summary",
"html"
]
2018-02-10 23:30:07 +00:00
},
2018-02-15 23:17:40 +00:00
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"react",
"jest"
],
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
},
2018-02-10 20:58:29 +00:00
"dependencies": {
"@alienfast/i18next-loader": "^1.0.14",
2018-02-10 21:22:59 +00:00
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^22.2.2",
2018-02-10 21:22:59 +00:00
"babel-loader": "^7.1.2",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
2018-02-10 21:22:59 +00:00
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.26.0",
"cheerio": "^1.0.0-rc.2",
"colors": "^1.1.2",
2018-02-10 20:58:29 +00:00
"copy-webpack-plugin": "^4.4.1",
2018-02-13 22:54:14 +00:00
"cross-env": "^5.1.3",
2018-02-10 20:58:29 +00:00
"css-loader": "^0.28.9",
2018-02-11 16:49:50 +00:00
"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",
2018-02-10 20:58:29 +00:00
"extract-text-webpack-plugin": "^3.0.2",
"favicons-webpack-plugin-cesco": "^0.0.6",
2018-02-10 21:32:52 +00:00
"feather-icons": "^4.5.0",
2018-02-10 20:58:29 +00:00
"html-webpack-plugin": "^2.30.1",
2018-02-11 23:37:07 +00:00
"i18next": "^10.3.0",
2018-02-11 23:43:11 +00:00
"i18next-browser-languagedetector": "^2.1.0",
"identity-obj-proxy": "^3.0.0",
"immutable": "^3.8.2",
"jest": "^22.2.2",
"npm-run-all": "^4.1.2",
2018-02-11 19:51:17 +00:00
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0",
2018-02-10 20:58:29 +00:00
"postcss-loader": "^2.1.0",
2018-02-11 15:41:03 +00:00
"raven-js": "^3.22.2",
2018-02-10 21:22:59 +00:00
"react": "^16.2.0",
"react-dom": "^16.2.0",
2018-02-11 15:27:43 +00:00
"react-ga": "^2.4.1",
2018-02-11 23:37:07 +00:00
"react-i18next": "^7.3.6",
2018-02-10 20:58:29 +00:00
"style-loader": "^0.20.1",
"svg-react-loader": "^0.4.5",
2018-02-10 21:05:25 +00:00
"uglifyjs-webpack-plugin": "^1.1.8",
2018-02-10 20:58:29 +00:00
"webpack": "^3.10.0",
2018-02-10 21:08:42 +00:00
"webpack-merge": "^4.1.1",
"webpack-node-externals": "^1.6.0",
"workbox-webpack-plugin": "^2.1.2"
2018-02-10 20:58:29 +00:00
},
"devDependencies": {
"http-server": "^0.11.1",
2018-02-10 23:11:30 +00:00
"husky": "^0.14.3",
"js-yaml": "^3.10.0",
"webpack-dev-server": "^2.11.1"
}
}