-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
178 lines (178 loc) · 5.55 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"title": "Tiered Map",
"name": "tiered-map",
"version": "2.13.0",
"description": "A simple map of key value pairs with support for tiers (e.g. defaults go at tier 25, standards go at 50, and overrides go at tier 75)",
"homepage": "https://github.com/bevry/tiered-map",
"license": "MIT",
"keywords": [
"attribute",
"attributes",
"browser",
"esnext",
"map",
"model",
"node",
"tier",
"tiered",
"tiers"
],
"badges": {
"list": [
"travisci",
"npmversion",
"npmdownloads",
"daviddm",
"daviddmdev",
"---",
"githubsponsors",
"patreon",
"flattr",
"liberapay",
"buymeacoffee",
"opencollective",
"crypto",
"paypal",
"wishlist"
],
"config": {
"githubSponsorsUsername": "balupton",
"buymeacoffeeUsername": "balupton",
"cryptoURL": "https://bevry.me/crypto",
"flattrUsername": "balupton",
"liberapayUsername": "bevry",
"opencollectiveUsername": "bevry",
"patreonUsername": "bevry",
"paypalURL": "https://bevry.me/paypal",
"wishlistURL": "https://bevry.me/wishlist",
"travisTLD": "com",
"githubUsername": "bevry",
"githubRepository": "tiered-map",
"githubSlug": "bevry/tiered-map",
"npmPackageName": "tiered-map"
}
},
"funding": "https://bevry.me/fund",
"author": "2015+ Bevry Pty Ltd <[email protected]> (http://bevry.me)",
"maintainers": [
"Benjamin Lupton <[email protected]> (https://github.com/balupton)"
],
"contributors": [
"Benjamin Lupton <[email protected]> (https://github.com/balupton)"
],
"bugs": {
"url": "https://github.com/bevry/tiered-map/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/bevry/tiered-map.git"
},
"engines": {
"node": ">=10"
},
"editions": [
{
"description": "ESNext source code for Node.js 10 || 12 || 13 || 14 with Require for modules",
"directory": "source",
"entry": "index.js",
"tags": [
"source",
"javascript",
"esnext",
"require"
],
"engines": {
"node": "10 || 12 || 13 || 14",
"browsers": false
}
},
{
"description": "ESNext compiled for web browsers with Require for modules",
"directory": "edition-browsers",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"require"
],
"engines": {
"node": false,
"browsers": "defaults"
}
}
],
"type": "commonjs",
"main": "source/index.js",
"browser": "edition-browsers/index.js",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@bevry/update-contributors": "^1.16.0",
"assert-helpers": "^7.2.0",
"eslint": "^7.8.1",
"eslint-config-bevry": "^3.22.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^3.1.4",
"kava": "^5.12.0",
"prettier": "^2.1.1",
"projectz": "^2.16.0",
"valid-directory": "^3.3.0"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-browsers",
"our:compile:edition-browsers": "env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source",
"our:deploy": "echo no need for this project",
"our:meta": "npm run our:meta:contributors && npm run our:meta:projectz",
"our:meta:contributors": "update-contributors",
"our:meta:projectz": "projectz compile",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",
"our:release:check-changelog": "cat ./HISTORY.md | grep v$npm_package_version || (echo add a changelog entry for v$npm_package_version && exit -1)",
"our:release:check-dirty": "git diff --exit-code",
"our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta",
"our:release:push": "git push origin master && git push origin --tags",
"our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (echo 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"",
"our:setup": "npm run our:setup:install",
"our:setup:install": "npm install",
"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier",
"our:verify:directory": "valid-directory",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",
"our:verify:prettier": "prettier --write .",
"test": "node ./source/test.js"
},
"eslintConfig": {
"extends": [
"bevry"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"babel": {
"env": {
"edition-browsers": {
"sourceType": "script",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"esmodules": false,
"browsers": "defaults"
},
"modules": "commonjs"
}
]
],
"plugins": [
"@babel/proposal-object-rest-spread"
]
}
}
}
}