-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
53 lines (53 loc) · 1.68 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
{
"name": "@vanillaes/computer-science",
"version": "2.0.4",
"license": "MIT",
"author": "Evan Plaice <evanplaice@gmail.com> (http://evanplaice.com/)",
"description": "Algorithms and Data Structures implemented in modern JS",
"keywords": [
"esm",
"esmodule",
"algorithms",
"data-structures",
"computer-science"
],
"repository": "git@github.com:vanillaes/computer-science",
"type": "module",
"exports": {
"import": "./index.js",
"browser": "./index.min.js"
},
"scripts": {
"test": "tape-es",
"test:watch": "tape-watch-es",
"lint": "esmtk lint",
"types": "npx -p typescript tsc index.js -t esnext --allowJS --checkJS --skipLibCheck --noEmit",
"build": "npm run build:min && npm run build:docs && npm run build:typings",
"build:min": "esmtk minify index.js index.min.js",
"build:docs": "node .config/docs.config.js",
"build:typings": "npx -p typescript tsc index.js -t esnext --allowJS --checkJS --skipLibCheck --declaration --emitDeclarationOnly --noEmitOnError",
"clean": "npm run clean:docs && npm run clean:typings",
"clean:docs": "npx rimraf docs/*/*.md",
"clean:typings": "npx rimraf src/**/*.d.ts",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm test && npm run lint && npm run types",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"docdown": "github:evanplaice/docdown",
"esmtk": "^0.5.13",
"glob": "^7.2.0",
"tape-es": "^1.2.16"
},
"engines": {
"node": ">=14"
},
"standard": {
"parser": "babel-eslint",
"ignore": [
"docs.config.js",
"index.js"
]
}
}