mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
108 lines
3.3 KiB
JSON
108 lines
3.3 KiB
JSON
{
|
|
"name": "unleash-frontend",
|
|
"description": "unleash your features",
|
|
"version": "3.2.0",
|
|
"keywords": [
|
|
"unleash",
|
|
"feature toggle",
|
|
"feature",
|
|
"toggle"
|
|
],
|
|
"files": [
|
|
"index.js",
|
|
"dist/"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "ssh://git@github.com:finn-no/unleash.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/finn-no/unleash/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"build": "rm -rf dist && mkdir -p dist/public && npm run build:assets && npm run build:html && npm run build:img && npm run build:ico",
|
|
"build:assets": "NODE_ENV=production webpack -p --display-optimization-bailout",
|
|
"build:html": "cp public/*.html dist/.",
|
|
"build:ico": "cp public/*.ico dist/.",
|
|
"build:img": "cp public/*.png dist/public/.",
|
|
"start": "NODE_ENV=development webpack-dev-server --progress --colors",
|
|
"start:heroku": "UNLEASH_API=http://unleash.herokuapp.com npm run start",
|
|
"lint": "eslint . --ext js,jsx",
|
|
"lint:fix": "eslint . --ext js,jsx --fix",
|
|
"test": "jest",
|
|
"test:ci": "npm run lint && npm run build && npm run test",
|
|
"prepublish": "npm run build"
|
|
},
|
|
"main": "./index.js",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"babel-core": "^6.14.0",
|
|
"babel-eslint": "^9.0.0",
|
|
"babel-loader": "^7.1.5",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"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",
|
|
"css-loader": "^1.0.0",
|
|
"debug": "^3.1.0",
|
|
"enzyme": "^3.5.0",
|
|
"enzyme-adapter-react-16": "^1.3.0",
|
|
"enzyme-to-json": "^3.3.4",
|
|
"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",
|
|
"fetch-mock": "^7.0.2",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"immutable": "^3.8.1",
|
|
"jest": "^23.5.0",
|
|
"mini-css-extract-plugin": "^0.4.1",
|
|
"node-sass": "^4.5.3",
|
|
"normalize.css": "^8.0.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.0",
|
|
"prettier": "^1.8.2",
|
|
"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",
|
|
"react-test-renderer": "^16.2.0",
|
|
"redux": "^4.0.0",
|
|
"redux-devtools": "^3.4.1",
|
|
"redux-mock-store": "^1.5.1",
|
|
"redux-thunk": "^2.1.0",
|
|
"sass-loader": "^7.0.1",
|
|
"style-loader": "^0.23.0",
|
|
"toolbox-loader": "0.0.3",
|
|
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
"webpack": "^4.17.1",
|
|
"webpack-cli": "^3.1.0",
|
|
"webpack-dev-server": "^3.1.5",
|
|
"whatwg-fetch": "^2.0.0"
|
|
},
|
|
"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"
|
|
},
|
|
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.js",
|
|
"setupFiles": [
|
|
"<rootDir>/jest-setup.js"
|
|
],
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
]
|
|
}
|
|
}
|