diff --git a/frontend/jest-preprocessor.js b/frontend/jest-preprocessor.js deleted file mode 100644 index 66c8d10d00..0000000000 --- a/frontend/jest-preprocessor.js +++ /dev/null @@ -1,9 +0,0 @@ -// preprocessor.js -'use strict'; - -const ReactTools = require('react-tools'); -module.exports = { - process (src) { - return ReactTools.transform(src); - }, -}; diff --git a/frontend/mock-api.json b/frontend/mock-api.json deleted file mode 100644 index 0bc4ee1726..0000000000 --- a/frontend/mock-api.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "features": { - "version": 1, - "features": [ - { - "name": "Feature.A", - "description": "lorem ipsum", - "enabled": false, - "strategies": [ - { - "name": "default", - "parameters": {} - } - ] - }, - { - "name": "Feature.B", - "description": "lorem ipsum", - "enabled": true, - "strategies": [ - { - "name": "ActiveForUserWithId", - "parameters": { - "userIdList": "123,221,998" - } - }, - { - "name": "GradualRolloutRandom", - "parameters": { - "percentage": "10" - } - } - ] - }, - { - "name": "Feature.C", - "description": "lorem ipsum", - "enabled": false, - "strategies": [ - { - "name": "default", - "parameters": {} - } - ] - }, - { - "name": "Feature.D", - "description": "lorem ipsum", - "enabled": true, - "strategies": [ - { - "name": "default", - "parameters": {} - } - ] - }, - { - "name": "Feature.E", - "description": "lorem ipsum", - "enabled": true, - "strategies": [ - { - "name": "default", - "parameters": {} - }, - { - "name": "FancyStrat", - "parameters": {} - } - ] - } - ] - } -} diff --git a/frontend/package.json b/frontend/package.json index 958da4f0c5..dcf6b70aa1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -23,7 +23,6 @@ "build:assets": "NODE_ENV=production webpack -p", "build:html": "cp public/*.* dist/.", "start": "NODE_ENV=development webpack-dev-server --config webpack.config.js --hot --progress --colors --port 3000", - "start:api": "json-server --watch mock-api.json -p 3001", "lint": "eslint . --ext=js,jsx", "test": "echo 'no test'", "test:ci": "npm run test", @@ -59,8 +58,7 @@ "eslint-config-finn-react": "^1.0.0-alpha.2", "eslint-plugin-react": "^6.2.0", "extract-text-webpack-plugin": "^1.0.1", - "json-server": "^0.8.21", - "node-sass": "~3.7.0", + "node-sass": "~3.12.1", "postcss-loader": "^0.13.0", "redux-devtools": "^3.3.1", "sass-loader": "^4.0.2",