2014-11-23 16:52:45 +00:00
|
|
|
{
|
|
|
|
"name": "regexper",
|
|
|
|
"version": "1.0.0",
|
2018-02-11 12:11:16 +00:00
|
|
|
"description": "Regular expression visualization tool using railroad diagrams",
|
2014-11-23 16:52:45 +00:00
|
|
|
"homepage": "http://regexper.com",
|
|
|
|
"author": {
|
|
|
|
"name": "Jeffrey Avallone",
|
|
|
|
"email": "jeff.avallone@gmail.com"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"private": true,
|
2016-10-15 16:36:49 +00:00
|
|
|
"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",
|
2018-02-13 22:10:32 +00:00
|
|
|
"build:webpack": "webpack --config webpack.prod.js",
|
|
|
|
"build:prerender": "node ./prerender/prerender.js",
|
2018-02-11 18:10:24 +00:00
|
|
|
"test": "run-s test:lint 'test:unit --coverage'",
|
2018-02-11 00:23:56 +00:00
|
|
|
"test:unit": "jest",
|
2018-02-10 23:31:16 +00:00
|
|
|
"test:lint": "eslint --ignore-path .gitignore .",
|
2018-02-11 00:23:56 +00:00
|
|
|
"test:watch": "yarn test:unit --watch",
|
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-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",
|
2018-02-13 22:15:33 +00:00
|
|
|
"\\.css$": "identity-obj-proxy"
|
2018-02-11 18:10:24 +00:00
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.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-10 20:58:29 +00:00
|
|
|
"dependencies": {
|
2018-02-13 22:45:27 +00:00
|
|
|
"@alienfast/i18next-loader": "^1.0.14",
|
2018-02-10 21:22:59 +00:00
|
|
|
"babel-core": "^6.26.0",
|
2018-02-11 16:16:07 +00:00
|
|
|
"babel-eslint": "^8.2.1",
|
2018-02-11 14:41:03 +00:00
|
|
|
"babel-jest": "^22.2.2",
|
2018-02-10 21:22:59 +00:00
|
|
|
"babel-loader": "^7.1.2",
|
2018-02-13 22:10:32 +00:00
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
2018-02-11 16:16:07 +00:00
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
2018-02-10 21:22:59 +00:00
|
|
|
"babel-preset-env": "^1.6.1",
|
|
|
|
"babel-preset-react": "^6.24.1",
|
2018-02-11 11:53:34 +00:00
|
|
|
"babel-register": "^6.26.0",
|
2018-02-13 22:10:32 +00:00
|
|
|
"cheerio": "^1.0.0-rc.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",
|
2018-02-11 14:41:03 +00:00
|
|
|
"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",
|
2018-02-13 22:15:33 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2018-02-11 14:41:03 +00:00
|
|
|
"jest": "^22.2.2",
|
|
|
|
"npm-run-all": "^4.1.2",
|
2018-02-11 19:51:17 +00:00
|
|
|
"postcss-cssnext": "^3.1.0",
|
2018-02-13 22:12:02 +00:00
|
|
|
"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",
|
2018-02-11 11:58:59 +00:00
|
|
|
"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",
|
2018-02-13 22:10:32 +00:00
|
|
|
"webpack-node-externals": "^1.6.0",
|
2018-02-13 22:45:27 +00:00
|
|
|
"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",
|
2018-02-10 23:14:22 +00:00
|
|
|
"webpack-dev-server": "^2.11.1"
|
2014-11-23 16:52:45 +00:00
|
|
|
}
|
|
|
|
}
|