2018-07-26 03:40:38 +02:00
|
|
|
{
|
|
|
|
"name": "svelte-i18n",
|
|
|
|
"version": "0.0.0",
|
2018-08-07 22:44:05 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"main": "dist/i18n.js",
|
|
|
|
"types": "src/index.d.ts",
|
2018-07-26 03:40:38 +02:00
|
|
|
"description": "",
|
|
|
|
"author": "Christian Kaisermann <christian@kaisermann.me>",
|
2018-08-07 22:44:05 +02:00
|
|
|
"repository": "https://github.com/kaisermann",
|
|
|
|
"keywords": [],
|
2018-07-26 03:40:38 +02:00
|
|
|
"scripts": {
|
2018-08-07 22:44:05 +02:00
|
|
|
"build": "microbundle --name='svelte-i18n'",
|
|
|
|
"start": "microbundle watch --name='svelte-i18n'",
|
|
|
|
"test": "jest --no-cache --verbose",
|
|
|
|
"test:watch": "jest --no-cache --verbose --watchAll",
|
|
|
|
"lint": "eslint \"*.js\" \"src/**/*.js\"",
|
|
|
|
"format": "prettier --loglevel silent --write \"*.js\" \"src/**/*.js\" && eslint --fix \"*.js\" \"src/**/*.js\"",
|
|
|
|
"prepublishOnly": "npm run format && npm run test"
|
2018-07-26 03:40:38 +02:00
|
|
|
},
|
2018-08-08 07:17:09 +02:00
|
|
|
"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": true
|
|
|
|
},
|
2018-07-26 03:40:38 +02:00
|
|
|
"devDependencies": {
|
2018-08-08 07:17:09 +02:00
|
|
|
"@babel/core": "^7.0.0-beta.56",
|
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
|
|
"babel-jest": "^23.4.2",
|
2018-08-07 22:44:05 +02:00
|
|
|
"eslint": "^4.19.1",
|
|
|
|
"eslint-config-prettier": "^2.9.0",
|
|
|
|
"eslint-config-standard": "^11.0.0",
|
|
|
|
"eslint-plugin-import": "^2.11.0",
|
|
|
|
"eslint-plugin-node": "^6.0.1",
|
|
|
|
"eslint-plugin-prettier": "^2.6.0",
|
|
|
|
"eslint-plugin-promise": "^3.7.0",
|
|
|
|
"eslint-plugin-standard": "^3.1.0",
|
|
|
|
"jest": "^22.4.3",
|
|
|
|
"microbundle": "^0.4.4",
|
2018-08-08 07:17:09 +02:00
|
|
|
"prettier": "^1.12.1",
|
|
|
|
"svelte": "^2.9.10"
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"svelte": "^2.9.10"
|
2018-07-27 04:24:17 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-08-08 07:17:09 +02:00
|
|
|
"@babel/preset-env": "^7.0.0-beta.56",
|
2018-07-31 00:57:05 +02:00
|
|
|
"deepmerge": "^2.1.1",
|
|
|
|
"object-resolve-path": "^1.1.1"
|
2018-07-26 03:40:38 +02:00
|
|
|
}
|
|
|
|
}
|