-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.84 KB
/
package.json
File metadata and controls
140 lines (140 loc) · 4.84 KB
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
{
"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:quick": "npx del-cli docs/md_out && npx tsc ./docs/processor/index.ts && node ./docs/processor",
"doc:dev": "(yarn doc && cd docs/md_out && npx vuepress dev)",
"doc:dev-quick": "(yarn doc:quick && cd docs/md_out && npx vuepress dev)",
"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 --entryPoints src/lib/index.ts",
"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": ">=18 && <= 22"
},
"dependencies": {
"@tensorflow/tfjs": "4.22.0",
"isomorphic-fetch": "3.0.0",
"libsvm-ts": "0.0.8",
"lodash": "4.17.13",
"numeric": "1.2.6",
"random-js": "1.0.8",
"stopword": "3.1.4"
},
"devDependencies": {
"@types/es6-promise": "3.3.0",
"@types/jest": "24.0.11",
"@types/lodash": "4.14.108",
"@types/node": "^22.13.9",
"@types/numeric": "1.2.0",
"@types/random-js": "1.0.30",
"@types/stopword": "^2.0.3",
"@vuepress/bundler-webpack": "^2.0.0-rc.20",
"@vuepress/theme-default": "^2.0.0-rc.82",
"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": "29.7.0",
"jest-fetch-mock": "1.6.5",
"ncp": "2.0.0",
"nodemon": "^3.1.9",
"prettier": "1.10.2",
"pretty-quick": "1.10.0",
"release-it": "7.4.8",
"sass": "^1.85.1",
"sass-loader": "^16.0.5",
"standard-version": "4.0.0",
"ts-jest": "29.2.6",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tslint": "5.4.3",
"tslint-config-prettier": "1.8.0",
"typedoc": "0.27.9",
"typedoc-plugin-markdown": "1.1.27",
"typescript": "5.8.2",
"vue": "^3.5.13",
"vuepress": "^2.0.0-rc.20",
"watch": "1.0.2",
"webpack": "^5.98.0",
"webpack-cli": "^6.0.1"
},
"resolutions": {
"webpack-dev-middleware": "7.4.2"
},
"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"
]
}
}