-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
64 lines (64 loc) · 1.49 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
{
"name": "@snyk-labs/modern-npm-package",
"version": "0.0.0-development",
"description": "An npm package for demonstration purposes using TypeScript to build for the ECMAScript Module format (i.e. ESM or ES Module). It can be used in Node.js and browser applications.",
"type": "module",
"types": "./lib/index.d.ts",
"main": "./lib/index.js",
"files": [
"lib/**/*"
],
"scripts": {
"clean": "del-cli ./lib",
"build": "npm run clean && tsc -p ./tsconfig.json",
"test": "node --experimental-strip-types --test",
"semantic-release": "semantic-release",
"prepack": "npm run build"
},
"release": {
"branches": [
"main"
],
"dryRun": true,
"plugins": [
[
"@semantic-release/npm",
{
"npmPublish": false
}
]
]
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/snyk-snippets/modern-npm-package.git"
},
"keywords": [
"npm",
"javascript",
"typescript",
"esm",
"cjs",
"nodejs",
"commonjs",
"ecmascript",
"beginner",
"example",
"demonstration"
],
"author": "Snyk Labs",
"license": "MIT",
"bugs": {
"url": "https://github.com/snyk-snippets/modern-npm-package/issues"
},
"homepage": "https://github.com/snyk-snippets/modern-npm-package#readme",
"devDependencies": {
"@types/node": "^22.12.0",
"del-cli": "^6.0.0",
"semantic-release": "^24.2.1",
"typescript": "^5.7.3"
}
}