Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.87 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 1.87 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
{
"name": "@thecolvinco/ts-package-starter",
"description": "TypeScript package starter",
"version": "0.0.1",
"source": "src/main.ts",
"main": "dist/main.umd.js",
"module": "dist/main.modern.module.js",
"unpkg": "dist/main.umd.js",
"types": "dist/main.d.ts",
"keywords": [
"typescript"
],
"files": [
"dist/**.js*",
"dist/**/*.ts"
],
"scripts": {
"build": "microbundle --define PKG_VERSION=$npm_package_version",
"watch": "microbundle watch --define PKG_VERSION=$npm_package_version",
"test": "jest",
"lint": "colvin-lint js",
"lint:fix": "colvin-lint js --fix",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"prerelease": "npm run build",
"release": "np",
"precommit": "lint-staged"
},
"lint-staged": {
"*.+(ts|tsx)": [
"colvin-lint js --staged --fix",
"prettier --write",
"git add"
]
},
"devDependencies": {
"@swc/core": "^1.3.6",
"@swc/jest": "^0.2.23",
"@thecolvinco/lint": "^1.1.23-beta0",
"@types/jest": "^29.1.2",
"@types/node": "^18.8.3",
"jest": "^29.1.2",
"jest-when": "3.5.1",
"lint-staged": "^13.0.3",
"microbundle": "^0.15.1",
"np": "^7.6.2",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"tslint": "^6.1.2",
"typescript": "^4.8.4"
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TheColvinCo/ts-package-starter.git"
},
"author": "TheColvinCo",
"bugs": {
"url": "https://github.com/TheColvinCo/ts-package-starter/issues"
},
"homepage": "https://github.com/TheColvinCo/ts-package-starter#readme",
"eslintConfig": {
"extends": [
"./node_modules/@thecolvinco/lint/.eslintrc.js"
]
},
"prettier": "./node_modules/@thecolvinco/lint/.prettierrc.js"
}