-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathpackage.json
130 lines (130 loc) · 4.33 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
{
"name": "machinelearn",
"version": "2.1.5",
"description": "Machine Learning library for the web and Node",
"main": "index.js",
"typings": "index.d.ts",
"module": "build/lib/module/index.js",
"repository": {
"type": "git",
"url": "https://github.com/machinelearnjs/machinelearnjs"
},
"license": "MIT",
"keywords": [
"Machine Learning",
"Javascript",
"Typescript",
"RandomForest",
"ensemble",
"statistics",
"feature extration",
"datasets",
"preprocessing",
"Decision Tree",
"SVM",
"KMeans",
"KNearestNeighbor",
"decomposition",
"PCA",
"accuracy score",
"confusion matrix",
"train test split",
"KFold",
"Imputation",
"Binarizer",
"OneHotEncoding"
],
"scripts": {
"build": "yarn clean && yarn build:main && yarn build:web && yarn build:datasets",
"build:main": "npx tsc -p tsconfig.json && npx ncp package.json ./build/lib/package.json && npx ncp README.md ./build/lib/README.md && npx ncp .npmignore ./build/lib/.npmignore",
"build:web": "npx webpack --config ./scripts/webpack/webpack.config.js",
"lint": "npx tslint -t verbose 'test/**/*.ts' 'src/**/*.ts' 'docs/**/*.ts'",
"build:datasets": "npx ncp src/lib/datasets/data build/lib/datasets/data",
"fix": "yarn lint:fix && yarn pretty:fix",
"pretty:fix": "npx prettier \"src/**/*.ts\" \"test/**/*.ts\" \"docs/**/*.ts\" --config ./.prettierrc.json --write",
"lint:fix": "npx tslint --fix --force -t verbose 'test/**/*.ts' 'src/**/*.ts' 'docs/**/*.ts'",
"test": "yarn build && yarn lint && yarn doc && yarn test:unit && yarn test:integration",
"test:unit": "npx jest --testPathIgnorePatterns \"./test/integration/require.test.ts\" --runInBand",
"test:integration": "node ./scripts/test-integration.js",
"watch": "./scripts/tmux-start.sh",
"watch:build": "yarn build:main -- -w",
"watch:unit": "yarn test:unit --watch",
"watch:lint": "watch \" npx tslint --force -t verbose 'test/**/*.ts' 'src/**/*.ts'\" src",
"doc": "npx del-cli docs/md_out && yarn doc:json && npx tsc ./docs/processor/index.ts && node ./docs/processor",
"doc:build": "yarn doc && cd docs/md_out && npx vuepress build && cp _redirects ./.vuepress/dist",
"doc:md": "npx del-cli docs/md_out && tsc ./docs/processor/index.ts && node ./docs/processor",
"doc:json": "npx typedoc --json docs/docs.json --tsconfig tdconfig.json --excludePrivate",
"clean": "npx del-cli build",
"release:major": "./scripts/releases/release-it.sh -v major",
"release:minor": "./scripts/releases/release-it.sh -v minor",
"release:patch": "./scripts/releases/release-it.sh -v patch",
"contributors:add": "npx all-contributors add",
"contributors:generate": "npx all-contributors generate",
"precommit": "yarn run lint && yarn run build && pretty-quick --staged"
},
"engines": {
"node": ">=8.11.0"
},
"dependencies": {
"@tensorflow/tfjs": "0.15.1",
"isomorphic-fetch": "2.2.1",
"libsvm-ts": "0.0.8",
"lodash": "4.17.13",
"numeric": "1.2.6",
"random-js": "1.0.8",
"stopword": "0.1.10"
},
"devDependencies": {
"@types/es6-promise": "3.3.0",
"@types/jest": "24.0.11",
"@types/lodash": "4.14.108",
"@types/node": "8.9.4",
"@types/numeric": "1.2.0",
"@types/random-js": "1.0.30",
"all-contributors-cli": "5.4.1",
"del-cli": "1.1.0",
"fs-extra": "7.0.0",
"handlebars": "4.0.14",
"husky": "1.1.2",
"jest": "24.7.1",
"jest-fetch-mock": "1.6.5",
"ncp": "2.0.0",
"prettier": "1.10.2",
"pretty-quick": "1.10.0",
"release-it": "7.4.8",
"standard-version": "4.0.0",
"ts-jest": "22.4.5",
"ts-loader": "6.0.4",
"ts-node": "8.1.0",
"tslint": "5.4.3",
"tslint-config-prettier": "1.8.0",
"typedoc": "0.14.2",
"typedoc-plugin-markdown": "1.1.27",
"typescript": "3.4.1",
"vuepress": "0.12.0",
"watch": "1.0.2",
"webpack": "4.39.0",
"webpack-cli": "3.3.6"
},
"resolutions": {
"webpack-dev-middleware": "3.6.0"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "/test/.*\\.test.(ts|tsx|js)$",
"verbose": true,
"testEnvironment": "node"
},
"greenkeeper": {
"ignore": [
"@types/node"
]
}
}