-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.17 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
{
"name": "component-library-template",
"version": "1.0.0",
"description": "Component Library Template",
"main": "dist/index.js",
"module": "dist/index.js",
"esnext": {
"main": "dist/index.js"
},
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"clean": "del ./dist ./coverage ./.rollup.cache",
"start": "run-p build:watch",
"format:check": "prettier --list-different '**/*.{ts,tsx,js,jsx,json,md,html,scss,css}'",
"format": "yarn format:check --write",
"build": "run-p clean && rollup -c ./rollup.config.ts",
"build:watch": "rollup -c ./rollup.config.ts --watch",
"test": "jest --colors",
"test:watch": "yarn test -- --watchAll",
"test:acceptance:static:serve": "serve .",
"test:acceptance:react:setup": "cd acceptance-tests/dummy-apps/react-app && yarn",
"test:acceptance:react:serve": "cd acceptance-tests/dummy-apps/react-app && BROWSER=none yarn start"
},
"author": "Zoltan",
"license": "MIT",
"repository": "https://github.com/zoltan-nz/component-library-template",
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.2",
"del-cli": "^3.0.1",
"jest": "^27.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
"rollup": "^2.51.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"serve": "^12.0.0",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
},
"dependencies": {
"tslib": "^2.3.0"
},
"peerDependencies": {
"tslib": "^2.3.0"
},
"engines": {
"node": ">=14",
"yarn": ">=1.22.10"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 120,
"arrowParens": "avoid"
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"testMatch": [
"**/*/*.test.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"verbose": true,
"automock": false,
"notify": true,
"collectCoverage": true
}
}