-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@erkobridee/my-ghp-lib",
"version": "0.2.1",
"description": "my first library deployed on the github packages",
"buildConfig": {
"libraryName": "MyGHP",
"outputBrowserDir": "dist-browser",
"outputDir": "dist-pack",
"bundleDir": "dist",
"bundleEntry": "src/index.ts",
"browserEntry": "src/index.ts",
"moduleEntries": [
"src/math/index.ts"
]
},
"packageFilesMap": {
"types": ".",
"main": "dist/cjs.js",
"module": "dist/esm.js",
"browser": "dist/umd.min.js"
},
"scripts": {
"husky:uninstall": "npx rimraf .husky && git config --unset core.hooksPath",
"husky:install": "npx husky install",
"husky:config:pre-commit": "npx husky add .husky/pre-commit \"npx lint-staged\"",
"husky": "node scripts/husky-setup.js",
"prepare": "npx is-ci || npm run husky",
"clean:dist-pack": "npx rimraf dist-pack",
"clean:dist-browser": "npx rimraf dist-browser",
"clean": "npx run-p clean:dist-pack clean:dist-browser",
"prettify": "npx prettier --write src",
"check:lint": "npx eslint 'src/**/*.{js,ts}'",
"check:typescript": "npx tsc --noEmit",
"check": "npx run-s prettify check:lint check:typescript",
"copy:readme": "npx cpy 'README.md' 'dist-pack'",
"compile": "npx rollup -c",
"build:package-json": "node scripts/dist-pack.js",
"prebuild": "npx run-s clean",
"build": "npx run-p copy:readme build:package-json compile"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,md,html,css,scss}": "prettier --write",
"src/**/*.{js,jsx,ts,tsx}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/erkobridee/my-ghp-lib.git"
},
"keywords": [
"javascript",
"library",
"github packages",
"typescript"
],
"author": "Erko Bridee",
"license": "ISC",
"bugs": {
"url": "https://github.com/erkobridee/my-ghp-lib/issues"
},
"homepage": "https://github.com/erkobridee/my-ghp-lib#readme",
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"cpy-cli": "^3.1.1",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^9.1.0",
"husky": "^7.0.2",
"is-ci": "^3.0.0",
"lint-staged": "^11.2.3",
"lodash.kebabcase": "^4.1.1",
"npm-run-all2": "^5.0.2",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"rollup": "^2.58.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"tslib": "^2.3.1",
"typescript": "^4.4.4"
}
}