2016-11-10 14:26:24 +01:00
|
|
|
{
|
2016-11-10 15:39:37 +01:00
|
|
|
"name": "unleash-frontend",
|
2016-11-10 14:26:24 +01:00
|
|
|
"description": "unleash your features",
|
2018-08-22 18:36:25 +02:00
|
|
|
"version": "3.1.3",
|
2016-11-10 14:26:24 +01:00
|
|
|
"keywords": [
|
|
|
|
"unleash",
|
|
|
|
"feature toggle",
|
|
|
|
"feature",
|
|
|
|
"toggle"
|
|
|
|
],
|
2016-12-23 10:58:33 +01:00
|
|
|
"files": [
|
|
|
|
"index.js",
|
|
|
|
"dist/"
|
|
|
|
],
|
2016-11-10 14:26:24 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "ssh://git@github.com:finn-no/unleash.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/finn-no/unleash/issues"
|
|
|
|
},
|
|
|
|
"engines": {
|
2018-02-02 12:52:31 +01:00
|
|
|
"node": ">=8"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
2017-03-07 14:31:30 +01:00
|
|
|
"license": "Apache-2.0",
|
2016-11-10 14:26:24 +01:00
|
|
|
"scripts": {
|
2017-03-07 18:30:45 +01:00
|
|
|
"build": "rm -rf dist && mkdir -p dist/public && npm run build:assets && npm run build:html && npm run build:img && npm run build:ico",
|
2017-07-10 23:30:38 +02:00
|
|
|
"build:assets": "NODE_ENV=production webpack -p --display-optimization-bailout",
|
2017-03-07 18:30:45 +01:00
|
|
|
"build:html": "cp public/*.html dist/.",
|
|
|
|
"build:ico": "cp public/*.ico dist/.",
|
|
|
|
"build:img": "cp public/*.png dist/public/.",
|
2017-08-04 09:10:52 +02:00
|
|
|
"start": "NODE_ENV=development webpack-dev-server --progress --colors",
|
2017-01-02 22:07:50 +01:00
|
|
|
"start:heroku": "UNLEASH_API=http://unleash.herokuapp.com npm run start",
|
2017-02-23 22:18:23 +01:00
|
|
|
"lint": "eslint . --ext js,jsx",
|
2018-02-07 14:25:02 +01:00
|
|
|
"lint:fix": "eslint . --ext js,jsx --fix",
|
2017-02-23 22:18:23 +01:00
|
|
|
"test": "jest",
|
|
|
|
"test:ci": "npm run lint && npm run build && npm run test",
|
2016-11-10 16:34:39 +01:00
|
|
|
"prepublish": "npm run build"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
|
|
|
"main": "./index.js",
|
2018-08-22 17:15:46 +02:00
|
|
|
"dependencies": {},
|
2016-11-10 14:26:24 +01:00
|
|
|
"devDependencies": {
|
|
|
|
"babel-core": "^6.14.0",
|
2018-08-28 05:03:52 +02:00
|
|
|
"babel-eslint": "^9.0.0",
|
2018-08-14 09:49:40 +02:00
|
|
|
"babel-loader": "^7.1.5",
|
2016-12-30 23:07:37 +01:00
|
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
2016-11-10 14:26:24 +01:00
|
|
|
"babel-preset-es2015": "^6.14.0",
|
|
|
|
"babel-preset-react": "^6.11.1",
|
|
|
|
"babel-preset-react-hmre": "^1.1.1",
|
|
|
|
"babel-preset-stage-0": "^6.5.0",
|
|
|
|
"babel-preset-stage-2": "^6.13.0",
|
2018-07-06 19:31:11 +02:00
|
|
|
"css-loader": "^1.0.0",
|
2018-08-22 17:15:46 +02:00
|
|
|
"debug": "^3.1.0",
|
2018-08-27 09:09:02 +02:00
|
|
|
"enzyme": "^3.5.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.3.0",
|
|
|
|
"enzyme-to-json": "^3.3.4",
|
2018-08-27 13:32:37 +02:00
|
|
|
"eslint": "^5.4.0",
|
|
|
|
"eslint-config-finn": "^3.0.1",
|
|
|
|
"eslint-config-finn-prettier": "^3.0.2",
|
|
|
|
"eslint-config-finn-react": "^2.0.2",
|
|
|
|
"eslint-plugin-react": "^7.11.1",
|
2018-09-24 20:16:47 +02:00
|
|
|
"fetch-mock": "^7.0.2",
|
2017-02-23 22:18:23 +01:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2018-08-22 17:15:46 +02:00
|
|
|
"immutable": "^3.8.1",
|
2018-08-16 09:23:55 +02:00
|
|
|
"jest": "^23.5.0",
|
2018-08-14 09:49:40 +02:00
|
|
|
"mini-css-extract-plugin": "^0.4.1",
|
2017-07-10 23:30:38 +02:00
|
|
|
"node-sass": "^4.5.3",
|
2018-08-22 17:15:46 +02:00
|
|
|
"normalize.css": "^8.0.0",
|
2018-08-22 18:06:28 +02:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.0",
|
2017-11-11 09:12:39 +01:00
|
|
|
"prettier": "^1.8.2",
|
2018-08-22 17:15:46 +02:00
|
|
|
"prop-types": "^15.6.2",
|
|
|
|
"react": "^16.4.2",
|
|
|
|
"react-dnd": "^5.0.0",
|
|
|
|
"react-dnd-html5-backend": "^5.0.1",
|
|
|
|
"react-dom": "^16.4.2",
|
|
|
|
"react-mdl": "^1.11.0",
|
|
|
|
"react-modal": "^3.1.13",
|
|
|
|
"react-redux": "^5.0.7",
|
|
|
|
"react-router-dom": "^4.3.1",
|
2018-02-05 09:33:51 +01:00
|
|
|
"react-test-renderer": "^16.2.0",
|
2018-08-22 17:15:46 +02:00
|
|
|
"redux": "^4.0.0",
|
2018-08-22 10:31:01 +02:00
|
|
|
"redux-devtools": "^3.4.1",
|
2018-01-29 09:07:10 +01:00
|
|
|
"redux-mock-store": "^1.5.1",
|
2018-08-22 17:15:46 +02:00
|
|
|
"redux-thunk": "^2.1.0",
|
2018-04-13 16:26:33 +02:00
|
|
|
"sass-loader": "^7.0.1",
|
2018-08-27 20:39:43 +02:00
|
|
|
"style-loader": "^0.23.0",
|
2016-11-10 14:26:24 +01:00
|
|
|
"toolbox-loader": "0.0.3",
|
2018-08-22 18:06:28 +02:00
|
|
|
"uglifyjs-webpack-plugin": "^1.3.0",
|
2018-08-22 17:04:02 +02:00
|
|
|
"webpack": "^4.17.1",
|
2018-08-14 09:49:40 +02:00
|
|
|
"webpack-cli": "^3.1.0",
|
2018-08-22 17:15:46 +02:00
|
|
|
"webpack-dev-server": "^3.1.5",
|
|
|
|
"whatwg-fetch": "^2.0.0"
|
2017-02-23 22:18:23 +01:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
|
|
|
|
"\\.(css|scss)$": "identity-obj-proxy"
|
|
|
|
},
|
2018-02-16 20:45:05 +01:00
|
|
|
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.js",
|
2017-02-23 22:18:23 +01:00
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/jest-setup.js"
|
2018-08-27 09:09:02 +02:00
|
|
|
],
|
|
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"]
|
2017-11-11 11:37:21 +01:00
|
|
|
},
|
|
|
|
"greenkeeper": {
|
|
|
|
"ignore": [
|
|
|
|
"react",
|
|
|
|
"react-dom",
|
|
|
|
"react-modal",
|
|
|
|
"react-redux",
|
|
|
|
"react-router",
|
|
|
|
"react-test-renderer"
|
|
|
|
]
|
2016-12-04 15:02:45 +01:00
|
|
|
}
|
2016-11-10 14:26:24 +01:00
|
|
|
}
|