-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.76 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.76 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "cox-typescript-library",
"version": "0.0.0",
"description": "typescript library boilerplate",
"main": "build/index.js",
"unpkg": "build/index.min.js",
"jsdelivr": "build/index.min.js",
"module": "build/index.js",
"umd": "build/index.min.js",
"types": "build/types/index.d.ts",
"scripts": {
"install": "node ./scripts/initialize",
"start": "rollup -c -w",
"build": "rollup -c && tsc --project tsconfig.production.json",
"test": "jest --silent",
"coverage": "npm run test -- --coverage",
"prepare": "npm run build",
"trypublish": "npm publish || true"
},
"repository": {
"type": "git",
"url": "https://github.com/coxcore/typescript-library"
},
"author": "Park U-yeong <ascript0@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/coxcore/typescript-library/issues"
},
"homepage": "https://github.com/coxcore/typescript-library",
"keywords": [
"library",
"javascript",
"typescript",
"js",
"ts"
],
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.15.7",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-typescript": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@rollup/plugin-html": "^0.2.4",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-typescript": "^8.2.5",
"@types/estree": "0.0.47",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"eslint": "^7.32.0",
"jest": "^27.2.2",
"prettier": "^2.4.1",
"rollup": "^2.57.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/lib/index.js",
"!src/demo/index.js",
"!src/utils/**",
"!**/tests/**"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [
"<rootDir>/src/"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
]
}
}