-
Notifications
You must be signed in to change notification settings - Fork 103
/
package.json
91 lines (91 loc) · 2.62 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": "stampit",
"version": "4.2.0",
"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",
"typings": "./src/stampit.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"
},
"dependencies": {},
"devDependencies": {
"benchmark": "^2.1.1",
"browserify": "^14.4.0",
"check-compose": "^5.0.0",
"eslint": "^6.4.0",
"gzip-size-cli": "^2.1.0",
"lodash": "^4.16.1",
"mkdirp": "^0.5.1",
"nyc": "^14.1.1",
"require-all": "^2.2.0",
"rimraf": "^2.3.4",
"tape": "^4.2.2",
"uglify-js": "^2.8.29",
"watch": "^1.0.1"
},
"scripts": {
"cov": "nyc npm run test",
"pretest": "npm run build",
"test": "node test",
"posttest": "node test/benchmark",
"browsertest": "mkdirp ./dist/ && browserify ./test/index.js -t [ babelify --presets [ env ] ] > dist/test_bundle.js && cp ./test/index.html ./dist/ && open ./dist/index.html",
"clean": "rimraf dist/*",
"lint": "eslint ./src/ ./test/",
"prebuild": "npm run clean",
"build": "npm run minify",
"check": "npm run test && npm run lint",
"watch": "watch 'clear && npm -s test' test/ src/",
"minify": "mkdirp ./dist/ && uglifyjs src/stampit.js -c collapse_vars,evaluate=false,screw_ie8,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": "V=`node -e \"process.stdout.write(require('./package.json').version)\"` && sed s/VERSION/$V/g dist/stampit.min.js > dist/tmp && rm dist/stampit.min.js && mv dist/tmp 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
}
}
}