-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
91 lines (91 loc) · 2.2 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
90
91
{
"name": "my-awesome-package",
"version": "1.1.0",
"description": "Look at this great package. Lots of stuff.",
"type": "module",
"main": "dist/index.cjs.js",
"browser": "dist/index.iife.js",
"exports": "./dist/index.js",
"scripts": {
"lint": "standard | snazzy",
"lint:fix": "standard --fix | snazzy",
"lint:test": "npm run lint && npm test",
"test": "mocha \"tests/**/*.tests.js\"",
"test:coverage": "NODE_ENV=test c8 --all --include=lib/* --reporter=html --reporter=text mocha \"tests/**/*.tests.js\"",
"test:watch": "npm test -- --watch",
"docs": "jsdoc --readme README.md ./lib/*.js -d ./docs && jsdoc2md ./lib/*.js > ./api.md",
"build": "rollup --config rollup.dist.config.js",
"build:full": "npm run docs && npm run build"
},
"babel": {
"presets": [
"@babel/env"
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"standard": {
"ignore": [
"docs/",
"node_modules/",
"dist/"
]
},
"targets": "> 0.25%, not dead",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/jankapunkt/npm-package-template.git"
},
"keywords": [
"npm",
"package",
"template",
"javascript"
],
"author": "Jan Küster <[email protected]>",
"funding": {
"type": "PayPal",
"url": "https://paypal.me/kuesterjan"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/jankapunkt/npm-package-template/issues"
},
"engines": {
"node": ">= 14.x"
},
"files": [
"dist",
"API.md",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"homepage": "https://github.com/jankapunkt/npm-package-template#readme",
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/register": "^7.22.15",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.5",
"c8": "^8.0.1",
"chai": "^4.3.10",
"cross-env": "7.0.3",
"jsdoc": "^4.0.2",
"jsdoc-to-markdown": "^8.0.0",
"mocha": "^10.2.0",
"rollup": "^4.0.2",
"snazzy": "^9.0.0",
"standard": "^17.1.0"
}
}