|
2 | 2 | "name": "lib-boilerplate-ts",
|
3 | 3 | "version": "0.0.0",
|
4 | 4 | "description": "Some awesome description",
|
5 |
| - "main": "dist/lib-boilerplate-ts.common.js", |
6 |
| - "module": "dist/lib-boilerplate-ts.esm.js", |
7 |
| - "unpkg": "dist/lib-boilerplate-ts.js", |
8 |
| - "browser": "dist/lib-boilerplate-ts.esm.js", |
9 |
| - "types": "dist/lib-boilerplate-ts/src", |
| 5 | + "main": "dist/vue-lib-boilerplate.cjs.js", |
| 6 | + "browser": "dist/vue-lib-boilerplate.esm.js", |
| 7 | + "unpkg": "dist/vue-lib-boilerplate.global.js", |
| 8 | + "jsdelivr": "dist/vue-lib-boilerplate.global.js", |
| 9 | + "module": "dist/vue-lib-boilerplate.esm-bundler.js", |
| 10 | + "types": "dist/vue-lib-boilerplate.d.ts", |
10 | 11 | "sideEffects": false,
|
11 | 12 | "author": {
|
12 | 13 | "name": "Eduardo San Martin Morote",
|
13 | 14 |
|
14 | 15 | },
|
15 | 16 | "scripts": {
|
16 |
| - "lint": "eslint --color --ext=js,html,vue,ts src __tests__ *.js", |
17 |
| - "lint:fix": "yarn run lint --fix", |
18 |
| - "unit": "jest", |
19 |
| - "dev": "yarn run unit --watchAll", |
20 |
| - "pretest": "yarn run lint", |
21 |
| - "test": "yarn run unit && yarn run build", |
22 | 17 | "build": "rollup -c rollup.config.js",
|
23 |
| - "prepublishOnly": "yarn run build" |
| 18 | + "build:dts": "api-extractor run --local --verbose", |
| 19 | + "release": "bash scripts/release.sh", |
| 20 | + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1", |
| 21 | + "size": "size-limit", |
| 22 | + "lint": "prettier -c --parser typescript \"{src,__tests__,e2e}/**/*.[jt]s?(x)\"", |
| 23 | + "lint:fix": "yarn run lint --write", |
| 24 | + "test:types": "tsc --build tsconfig.json", |
| 25 | + "test:unit": "jest --coverage", |
| 26 | + "test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts" |
24 | 27 | },
|
25 | 28 | "files": [
|
26 |
| - "dist", |
| 29 | + "dist/*.js", |
| 30 | + "dist/vue-lib-boilerplate.d.ts", |
27 | 31 | "LICENSE",
|
28 | 32 | "README.md"
|
29 | 33 | ],
|
30 | 34 | "keywords": [],
|
31 | 35 | "license": "MIT",
|
32 | 36 | "devDependencies": {
|
33 |
| - "@rollup/plugin-alias": "^3.0.0", |
34 |
| - "@rollup/plugin-replace": "^2.2.1", |
| 37 | + "@microsoft/api-extractor": "^7.8.1", |
| 38 | + "@rollup/plugin-alias": "^3.1.1", |
| 39 | + "@rollup/plugin-commonjs": "^14.0.0", |
| 40 | + "@rollup/plugin-node-resolve": "^8.4.0", |
| 41 | + "@rollup/plugin-replace": "^2.3.3", |
| 42 | + "@size-limit/preset-small-lib": "^4.5.5", |
35 | 43 | "@types/jest": "^26.0.8",
|
36 |
| - "@typescript-eslint/eslint-plugin": "^3.7.1", |
37 |
| - "@typescript-eslint/parser": "^3.7.1", |
| 44 | + "@types/jsdom": "^16.2.3", |
38 | 45 | "codecov": "^3.7.2",
|
39 |
| - "eslint": "^7.6.0", |
40 |
| - "eslint-config-prettier": "^6.11.0", |
41 |
| - "eslint-plugin-prettier": "^3.1.4", |
| 46 | + "conventional-changelog-cli": "^2.0.34", |
42 | 47 | "jest": "^26.2.2",
|
| 48 | + "lint-staged": "^10.2.11", |
43 | 49 | "pascalcase": "^1.0.0",
|
44 | 50 | "prettier": "^2.0.5",
|
45 |
| - "rimraf": "^3.0.2", |
46 | 51 | "rollup": "^2.23.0",
|
47 | 52 | "rollup-plugin-commonjs": "^10.1.0",
|
48 | 53 | "rollup-plugin-node-resolve": "^5.2.0",
|
49 | 54 | "rollup-plugin-terser": "^6.1.0",
|
50 | 55 | "rollup-plugin-typescript2": "^0.27.1",
|
| 56 | + "size-limit": "^4.5.5", |
51 | 57 | "ts-jest": "^26.1.4",
|
52 |
| - "typescript": "^3.9.7" |
| 58 | + "typescript": "^3.9.7", |
| 59 | + "vue": "^3.0.0-rc.5", |
| 60 | + "yorkie": "^2.0.0" |
| 61 | + }, |
| 62 | + "gitHooks": { |
| 63 | + "pre-commit": "lint-staged", |
| 64 | + "commit-msg": "node scripts/verifyCommit.js" |
| 65 | + }, |
| 66 | + "lint-staged": { |
| 67 | + "*.js": [ |
| 68 | + "prettier --write" |
| 69 | + ], |
| 70 | + "*.ts?(x)": [ |
| 71 | + "prettier --parser=typescript --write" |
| 72 | + ] |
| 73 | + }, |
| 74 | + "size-limit": [ |
| 75 | + { |
| 76 | + "path": "size-checks/webRouter.js" |
| 77 | + }, |
| 78 | + { |
| 79 | + "path": "size-checks/webRouterAndVue.js" |
| 80 | + } |
| 81 | + ], |
| 82 | + "peerDependencies": { |
| 83 | + "vue": "^3.0.0-beta.20" |
53 | 84 | },
|
54 | 85 | "repository": {
|
55 | 86 | "type": "git",
|
|
0 commit comments