This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
50 lines (50 loc) · 2.36 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
{
"name": "common-algorithms-js",
"version": "2.2.2",
"description": "Common algorithms implemented in JavaScript.",
"main": "./es.js",
"scripts": {
"transpile-es5": "node_modules/.bin/shx rm -rf ./algorithms/es5 && node_modules/.bin/shx rm -rf ./test/es5 && node_modules/.bin/shx rm -f ./es5.js && node_modules/.bin/babel ./es.js -o ./es5.js --plugins=babel-plugin-transform-es2015-modules-umd --no-comments && node_modules/.bin/babel ./algorithms/es -d ./algorithms/es5 --plugins=babel-plugin-transform-es2015-modules-umd --no-comments && node_modules/.bin/babel ./test/es -d ./test/es5 --no-comments && node_modules/.bin/replace '/es/' '/es5/' ./es5.js -q && node_modules/.bin/replace 'global.es' 'global.algorithms' ./es5.js -q && node_modules/.bin/replace '../../es' '../../es5' ./test/es5 -r -q && node_modules/.bin/replace 'Algorithm:' 'ES5 Algorithm:' ./test/es5 -r -q && node_modules/.bin/standard --fix --global self --global define --global it --global describe",
"coverage": "node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/es/*.js && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
"test": "npm run transpile-es5 && node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/**/*.js",
"test-es": "node_modules/.bin/nyc --require babel-register node_modules/.bin/_mocha ./test/es/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sumtype/common-algorithms-js.git"
},
"keywords": [
"common algorithms",
"javascript",
"algorithms",
"javascript algorithms",
"sorting algorithms",
"string algorithms",
"array algorithms",
"graph algorithms",
"geometry algorithms",
"computer science",
"computer science algorithms",
"math algorithms"
],
"author": "James Mason",
"license": "MIT",
"bugs": {
"url": "https://github.com/sumtype/common-algorithms-js/issues"
},
"homepage": "https://github.com/sumtype/common-algorithms-js#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"chai": "^3.5.0",
"coveralls": "^3.0.0",
"mocha": "^5.2.0",
"nyc": "^11.4.1",
"replace": "^1.0.1",
"shx": "^0.2.2",
"standard": "^10.0.3",
"uuid": "^3.2.1"
}
}