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-02-10 09:33:16 +01:00
|
|
|
"version": "3.0.0",
|
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",
|
|
|
|
"dependencies": {
|
2017-11-11 08:34:44 +01:00
|
|
|
"debug": "^3.1.0",
|
2016-11-10 14:26:24 +01:00
|
|
|
"immutable": "^3.8.1",
|
2018-02-09 07:23:59 +01:00
|
|
|
"normalize.css": "^8.0.0",
|
2018-02-05 09:33:51 +01:00
|
|
|
"prop-types": "^15.6.0",
|
|
|
|
"react": "^16.2.0",
|
2016-12-30 23:24:46 +01:00
|
|
|
"react-dnd": "^2.1.4",
|
|
|
|
"react-dnd-html5-backend": "^2.1.2",
|
2018-02-05 09:33:51 +01:00
|
|
|
"react-dom": "^16.2.0",
|
2018-02-08 21:16:21 +01:00
|
|
|
"react-mdl": "^1.11.0",
|
2018-02-13 08:56:10 +01:00
|
|
|
"react-modal": "^3.1.13",
|
2018-02-13 08:59:30 +01:00
|
|
|
"react-redux": "^5.0.6",
|
2017-11-11 11:37:21 +01:00
|
|
|
"react-router": "^3.0.0",
|
2016-12-29 12:36:12 +01:00
|
|
|
"react-router-scroll": "^0.4.1",
|
2016-11-10 14:26:24 +01:00
|
|
|
"redux": "^3.6.0",
|
2016-11-16 22:19:38 +01:00
|
|
|
"redux-thunk": "^2.1.0",
|
|
|
|
"whatwg-fetch": "^2.0.0"
|
2016-11-10 14:26:24 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-core": "^6.14.0",
|
2017-11-11 08:34:44 +01:00
|
|
|
"babel-eslint": "^8.0.2",
|
2017-07-10 23:30:38 +02:00
|
|
|
"babel-loader": "^7.1.1",
|
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",
|
2017-07-10 23:30:38 +02:00
|
|
|
"css-loader": "^0.28.4",
|
2018-02-16 20:45:05 +01:00
|
|
|
"enzyme": "^3.3.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
2017-08-28 19:15:47 +02:00
|
|
|
"eslint": "^4.5.0",
|
2017-11-11 09:12:39 +01:00
|
|
|
"eslint-config-finn": "^3.0.0",
|
2017-08-28 19:15:47 +02:00
|
|
|
"eslint-config-finn-prettier": "^3.0.0",
|
2017-06-29 08:36:10 +02:00
|
|
|
"eslint-config-finn-react": "^2.0.0",
|
2017-08-28 19:15:47 +02:00
|
|
|
"eslint-plugin-react": "^7.3.0",
|
2017-07-10 23:30:38 +02:00
|
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
2018-01-29 09:07:10 +01:00
|
|
|
"fetch-mock": "^6.0.0",
|
2017-02-23 22:18:23 +01:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2018-01-17 16:10:47 +01:00
|
|
|
"jest": "^22.1.2",
|
2017-07-10 23:30:38 +02:00
|
|
|
"node-sass": "^4.5.3",
|
2017-11-11 09:12:39 +01:00
|
|
|
"prettier": "^1.8.2",
|
2018-02-05 09:33:51 +01:00
|
|
|
"react-test-renderer": "^16.2.0",
|
2016-11-10 14:26:24 +01:00
|
|
|
"redux-devtools": "^3.3.1",
|
2018-01-29 09:07:10 +01:00
|
|
|
"redux-mock-store": "^1.5.1",
|
2017-07-10 23:30:38 +02:00
|
|
|
"sass-loader": "^6.0.6",
|
2018-01-26 21:55:30 +01:00
|
|
|
"style-loader": "^0.20.0",
|
2016-11-10 14:26:24 +01:00
|
|
|
"toolbox-loader": "0.0.3",
|
2017-07-10 23:30:38 +02:00
|
|
|
"webpack": "^3.1.0",
|
2017-08-04 09:10:52 +02:00
|
|
|
"webpack-dev-server": "^2.6.1"
|
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"
|
|
|
|
]
|
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
|
|
|
}
|