-
Notifications
You must be signed in to change notification settings - Fork 102
/
package.json
92 lines (92 loc) · 2.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
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
92
{
"name": "stampit",
"version": "4.3.2",
"description": "Create objects from reusable, composable behaviors.",
"author": {
"name": "Eric Elliott",
"url": "https://ericelliottjs.com"
},
"homepage": "https://stampit.js.org",
"main": "dist/stampit.min.js",
"minified:main": "dist/stampit.min.js",
"types": "./types/index.d.ts",
"keywords": [
"object",
"prototype",
"object oriented",
"browser",
"inheritance",
"oop",
"node",
"factory",
"class",
"stamp"
],
"repository": {
"type": "git",
"url": "git@github.com:stampit-org/stampit.git"
},
"devDependencies": {
"benchmark": "^2.1.4",
"browserify": "^16.5.0",
"check-compose": "^5.0.0",
"dtslint": "1.0.2",
"eslint": "^6.6.0",
"gzip-size-cli": "^3.0.0",
"lodash": "^4.17.15",
"mkdirp": "^0.5.1",
"nyc": "^14.1.1",
"replace-in-file": "^4.2.0",
"require-all": "^3.0.0",
"tape": "^4.11.0",
"tslint": "^5.20.0",
"typescript": "^3.6.4",
"uglify-js": "^3.13.3"
},
"scripts": {
"cov": "nyc npm run test",
"dtslint": "dtslint test/types",
"pretest": "npm run build",
"test": "node test",
"posttest": "node test/benchmark",
"browsertest": "mkdirp ./dist/ && browserify ./test/index.js > dist/test_bundle.js && cp ./test/index.html ./dist/ && open ./dist/index.html",
"lint": "eslint ./src/ ./test/",
"prebuild": "rm -rf ./dist/*",
"build": "npm run minify",
"ci": "npm run test",
"check": "npm run test && npm run lint",
"minify": "mkdirp ./dist/ && uglifyjs src/stampit.js -c collapse_vars,evaluate=false,ie8=false,unsafe,loops=false,keep_fargs=false,pure_getters,unused,dead_code,keep_fnames=[\"'stampit','Stamp'\"] -m reserved=['stampit','Stamp'] -o dist/stampit.min.js",
"preversion": "npm run check",
"postversion": "replace-in-file VERSION $npm_package_version dist/stampit.min.js",
"postminify": "ls -l dist/ && echo GZIP size: && gzip-size --raw dist/stampit.min.js"
},
"license": "MIT",
"npmName": "stampit",
"npmFileMap": [
{
"files": [
"/src/stampit.js",
"/dist/stampit.min.js"
]
}
],
"eslintConfig": {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"no-prototype-builtins": 0
}
}
}