generated from jankapunkt/npm-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.04 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
{
"name": "class-privacy",
"version": "1.1.1",
"description": "Simple way to define private members on ES6 classes, keep their code clean.",
"main": "dist/index.js",
"scripts": {
"lint": "cd ./lib && standard | snazzy",
"lint:fix": "cd ./lib && standard --fix | snazzy",
"lint:test": "npm run lint && npm test",
"test": "mocha --require @babel/register \"tests/**/*.tests.js\"",
"test:coverage": "cross-env BABEL_ENV= NODE_ENV=test nyc mocha --require @babel/register \"tests/**/*.tests.js\"",
"test:watch": "npm test -- --watch",
"docs": "jsdoc --readme README.md ./lib/*.js -d ./docs && jsdoc2md ./lib/index.js > ./api.md",
"build": "rm -rf ./dist/** && babel lib --out-dir ./dist --ignore *.tests.js --source-maps",
"build:min": "minify ./dist/index.js --out-file ./dist/index.min.js --mangle.keepFnName --mangle.keepClassName --",
"build:full": "npm run docs && npm run build && npm run build:min",
"build:ci": "npm run lint && npm run test && npm run build:full"
},
"babel": {
"presets": [
"@babel/env"
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"nyc": {
"sourceMap": false,
"instrument": false
},
"targets": "> 0.25%, not dead",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/jankapunkt/npm-package-template.git"
},
"keywords": [
"awesome",
"cool",
"great",
"swag"
],
"author": "Jan Küster",
"license": "MIT",
"bugs": {
"url": "https://github.com/jankapunkt/js-class-privacy"
},
"homepage": "https://github.com/jankapunkt/js-class-privacy#readme",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@babel/register": "^7.11.5",
"babel-minify": "^0.5.1",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"cross-env": "^6.0.3",
"jsdoc": "^3.6.3",
"jsdoc-to-markdown": "^5.0.3",
"mocha": "^8.1.3",
"nyc": "^15.1.0",
"snazzy": "^8.0.0",
"standard": "^14.3.4"
}
}