svelte-i18n/package.json

78 lines
1.8 KiB
JSON
Raw Normal View History

2018-07-26 03:40:38 +02:00
{
2020-12-03 14:41:29 +01:00
"name": "@vtex/slugify",
2020-12-03 14:42:18 +01:00
"version": "1.0.0",
2020-12-03 14:41:29 +01:00
"main": "dist/main.cjs.js",
"module": "dist/main.esm.js",
"types": "types/index.d.ts",
2019-06-12 03:51:01 +02:00
"license": "MIT",
2020-12-03 14:41:29 +01:00
"description": "VTEX slug utilities",
2018-07-26 03:40:38 +02:00
"author": "Christian Kaisermann <christian@kaisermann.me>",
2020-12-03 14:41:29 +01:00
"repository": "https://github.com/vtex/slugify",
2018-08-09 16:23:01 +02:00
"keywords": [
2020-12-03 14:41:29 +01:00
"slug"
2018-08-09 16:23:01 +02:00
],
2019-11-19 17:18:42 +01:00
"engines": {
"node": ">= 11.15.0"
},
2018-07-26 03:40:38 +02:00
"scripts": {
"clean": "rm -rf dist/ types/",
2019-06-12 05:04:34 +02:00
"build": "rollup -c",
2020-12-03 14:41:29 +01:00
"build:types": "tsc -p src/ --emitDeclarationOnly",
"prebuild": "yarn clean",
"postbuild": "yarn build:types",
2019-06-12 05:04:34 +02:00
"dev": "rollup -c -w",
2020-12-03 14:41:29 +01:00
"test": "jest",
2020-11-05 14:01:23 +01:00
"lint": "eslint \"{src,test}/**/*.ts\"",
"format": "prettier --loglevel silent --write \"{src,test}/**/*.ts\"",
2020-11-05 20:02:09 +01:00
"prepublishOnly": "npm run test && npm run build"
2018-07-26 03:40:38 +02:00
},
2019-06-08 00:19:09 +02:00
"files": [
"dist/",
"types/"
2019-06-08 00:19:09 +02:00
],
2020-01-29 15:49:28 +01:00
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"jest": {
2019-11-19 17:18:42 +01:00
"collectCoverage": true,
"testMatch": [
2020-12-03 14:41:29 +01:00
"<rootDir>/**/*.test.ts"
],
2019-11-19 17:18:42 +01:00
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
2019-11-19 17:18:42 +01:00
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
2018-07-26 03:40:38 +02:00
"devDependencies": {
"@types/jest": "^26.0.14",
2020-12-03 14:41:29 +01:00
"@vtex/prettier-config": "^0.3.5",
"conventional-changelog-cli": "^2.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.9.0",
2020-12-03 14:41:29 +01:00
"eslint-config-vtex": "^12.8.11",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"rollup": "^2.27.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.2",
"ts-jest": "^26.4.0",
"typescript": "^4.0.3"
2018-07-26 03:40:38 +02:00
}
}