2018-07-26 03:40:38 +02:00
|
|
|
{
|
2020-12-03 14:41:29 +01:00
|
|
|
"name": "@vtex/slugify",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"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": {
|
2020-01-23 14:11:04 +01:00
|
|
|
"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": [
|
2020-01-23 14:11:04 +01:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2018-08-08 07:17:09 +02:00
|
|
|
"jest": {
|
2019-11-19 17:18:42 +01:00
|
|
|
"collectCoverage": true,
|
|
|
|
"testMatch": [
|
2020-12-03 14:41:29 +01:00
|
|
|
"<rootDir>/**/*.test.ts"
|
2018-08-08 07:17:09 +02:00
|
|
|
],
|
2019-11-19 17:18:42 +01:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.ts"
|
2018-08-08 07:17:09 +02:00
|
|
|
],
|
2019-11-19 17:18:42 +01:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
}
|
|
|
|
},
|
2018-07-26 03:40:38 +02:00
|
|
|
"devDependencies": {
|
2020-09-20 15:14:26 +02:00
|
|
|
"@types/jest": "^26.0.14",
|
2020-12-03 14:41:29 +01:00
|
|
|
"@vtex/prettier-config": "^0.3.5",
|
2020-09-20 15:14:26 +02:00
|
|
|
"conventional-changelog-cli": "^2.1.0",
|
2020-11-07 15:39:20 +01:00
|
|
|
"cross-env": "^7.0.2",
|
2020-09-20 15:14:26 +02:00
|
|
|
"eslint": "^7.9.0",
|
2020-12-03 14:41:29 +01:00
|
|
|
"eslint-config-vtex": "^12.8.11",
|
2020-09-20 15:14:26 +02:00
|
|
|
"husky": "^4.3.0",
|
|
|
|
"jest": "^26.4.2",
|
|
|
|
"lint-staged": "^10.4.0",
|
|
|
|
"prettier": "^2.1.2",
|
|
|
|
"rollup": "^2.27.1",
|
2019-11-12 03:15:09 +01:00
|
|
|
"rollup-plugin-commonjs": "^10.1.0",
|
2020-09-20 15:14:26 +02:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|