52d378be61
Not using CircleCI anymore, so don't need it
187 lines
5.0 KiB
JSON
187 lines
5.0 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 -c0 ./build",
|
|
"build": "cross-env NODE_ENV=production run-s build:webpack:web build:webpack:prerender build:prerender",
|
|
"build:webpack:web": "webpack --config webpack.prod-web.js",
|
|
"build:webpack:prerender": "webpack --config webpack.prod-prerender.js",
|
|
"build:prerender": "node ./script/__build__/prerender.js",
|
|
"deploy": "node ./script/s3-upload.js deploy.config.js",
|
|
"test": "run-s test:lint 'test:unit --coverage'",
|
|
"test:unit": "cross-env NODE_ENV=production jest",
|
|
"test:lint": "eslint --ignore-path .gitignore .",
|
|
"test:watch": "yarn test:unit --watch",
|
|
"test:bundle-analyzer": "cross-env NODE_ENV=production webpack --config webpack.bundle-analyzer.js",
|
|
"i18n:scrub": "node ./script/i18n-scrub.js",
|
|
"precommit": "run-s test:lint"
|
|
},
|
|
"browserslist": [
|
|
">1%",
|
|
"not ie < 11"
|
|
],
|
|
"babel": {
|
|
"presets": [
|
|
"env",
|
|
"react"
|
|
],
|
|
"plugins": [
|
|
"transform-runtime",
|
|
"transform-class-properties",
|
|
"transform-object-rest-spread",
|
|
"transform-decorators-legacy",
|
|
"syntax-dynamic-import"
|
|
]
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"postcss-import": {},
|
|
"postcss-cssnext": {
|
|
"features": {
|
|
"rem": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"jest": {
|
|
"clearMocks": true,
|
|
"setupTestFrameworkScriptFile": "<rootDir>/src/setup/jest.js",
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"modulePaths": [
|
|
"src",
|
|
"node_modules"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.svg$": "__mocks__/svgMock.js",
|
|
"\\.css$": "identity-obj-proxy"
|
|
},
|
|
"collectCoverageFrom": [
|
|
"src/**/*.js",
|
|
"!src/i18n.js",
|
|
"!src/prerender.js",
|
|
"!src/setup/service-worker.js",
|
|
"!src/setup/jest.js",
|
|
"!src/pages/**/config.js",
|
|
"!src/pages/**/browser.js"
|
|
],
|
|
"coverageReporters": [
|
|
"text-summary",
|
|
"html"
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@alienfast/i18next-loader": "^1.0.14",
|
|
"aws-sdk": "^2.247.1",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^8.2.1",
|
|
"babel-jest": "^23.0.1",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"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",
|
|
"copy-webpack-plugin": "^4.4.1",
|
|
"cross-env": "^5.1.3",
|
|
"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": "^4.0.0-beta.0",
|
|
"feather-icons": "^4.5.0",
|
|
"html-webpack-plugin": "^3.0.0",
|
|
"i18next": "^11.3.2",
|
|
"i18next-browser-languagedetector": "^2.1.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"immutable": "^3.8.2",
|
|
"jest": "^23.1.0",
|
|
"mime-types": "^2.1.18",
|
|
"npm-run-all": "^4.1.2",
|
|
"postcss-cssnext": "^3.1.0",
|
|
"postcss-import": "^11.1.0",
|
|
"postcss-loader": "^2.1.0",
|
|
"raven-js": "^3.22.2",
|
|
"react": "^16.3.0",
|
|
"react-dom": "^16.3.0",
|
|
"react-ga": "^2.4.1",
|
|
"react-i18next": "^7.3.6",
|
|
"react-test-renderer": "^16.3.0",
|
|
"recursive-readdir": "^2.2.2",
|
|
"style-loader": "^0.21.0",
|
|
"svg-react-loader": "^0.4.5",
|
|
"uglifyjs-webpack-plugin": "^1.1.8",
|
|
"url-search-params": "^0.10.0",
|
|
"webapp-webpack-plugin": "^2.1.0",
|
|
"webpack": "^4.1.1",
|
|
"webpack-cli": "^3.0.1",
|
|
"webpack-merge": "^4.1.1",
|
|
"webpack-node-externals": "^1.6.0",
|
|
"workbox-webpack-plugin": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"http-server": "^0.11.1",
|
|
"husky": "^0.14.3",
|
|
"js-yaml": "^3.10.0",
|
|
"webpack-bundle-analyzer": "^2.11.1",
|
|
"webpack-dev-server": "^3.1.1"
|
|
}
|
|
}
|