75 lines
1.8 KiB
JSON
75 lines
1.8 KiB
JSON
{
|
|
"name": "ohif-i18n",
|
|
"version": "0.0.1",
|
|
"description": "OHIF extension for internationalization",
|
|
"author": "OHIF",
|
|
"license": "MIT",
|
|
"repository": "OHIF/Viewers",
|
|
"main": "dist/index.umd.js",
|
|
"module": "dist/index.es.js",
|
|
"jsnext:main": "dist/index.es.js",
|
|
"engines": {
|
|
"node": ">=8",
|
|
"npm": ">=5"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"peerDependencies": {
|
|
"i18next": "^15.1.3",
|
|
"react-i18next": "^10.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.2.2",
|
|
"@babel/plugin-external-helpers": "^7.2.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.2.3",
|
|
"@babel/plugin-transform-runtime": "^7.2.0",
|
|
"@babel/preset-env": "^7.2.3",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "5.13.0",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-node": "^8.0.0",
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"husky": "^1.3.1",
|
|
"lint-staged": "^8.1.0",
|
|
"prettier": "^1.15.3",
|
|
"rollup": "^1.1.2",
|
|
"rollup-plugin-babel": "^4.2.0",
|
|
"rollup-plugin-commonjs": "^9.2.0",
|
|
"rollup-plugin-copy": "^2.0.1",
|
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
"rollup-plugin-node-resolve": "^4.0.0",
|
|
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
"rollup-plugin-postcss": "^2.0.3",
|
|
"rollup-plugin-url": "^2.1.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,jsx,json,css}": [
|
|
"prettier --single-quote --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.2.0",
|
|
"classnames": "^2.2.6"
|
|
}
|
|
}
|