svelte-i18n/package.json
Christian Kaisermann dcf36b575a chore: 🤖 add test:ci script
2019-11-25 11:35:05 -03:00

81 lines
2.0 KiB
JSON

{
"name": "svelte-i18n",
"version": "1.1.2",
"main": "dist/i18n.js",
"module": "dist/i18n.mjs",
"license": "MIT",
"description": "Internationalization library for Svelte",
"author": "Christian Kaisermann <christian@kaisermann.me>",
"repository": "https://github.com/kaisermann",
"keywords": [
"svelte",
"i18n",
"internationalization",
"localization",
"translation"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"pretest": "npm run build",
"test": "jest --no-cache --verbose",
"test:watch": "jest --no-cache --verbose --watchAll",
"test:ci": "jest --no-cache --silent",
"lint": "eslint \"src/**/*.js\"",
"format": "prettier --loglevel silent --write \"src/**/*.js\" && eslint --fix \"src/**/*.js\"",
"prepublishOnly": "npm run format && npm run test && npm run build"
},
"files": [
"dist/",
"src/"
],
"jest": {
"verbose": true,
"testURL": "http://localhost/",
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"testRegex": "(/test/.*|\\.(test|spec))\\.js$",
"moduleFileExtensions": [
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverage": false
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"eslint": "^6.6.0",
"eslint-config-kaisermann": "0.0.3",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"rollup": "^1.26.5",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"svelte": "^3.14.0"
},
"peerDependencies": {
"svelte": "^3.14.0"
},
"dependencies": {
"intl-messageformat": "^7.5.2",
"micro-memoize": "^4.0.8",
"object-resolve-path": "^1.1.1"
}
}