UNPKG

2.39 kBJSONView Raw
1{
2 "version": "3.0.2",
3 "name": "stream-transform",
4 "description": "Object transformations implementing the Node.js `stream.Transform` API",
5 "keywords": [
6 "stream",
7 "transform",
8 "csv",
9 "object"
10 ],
11 "author": "David Worms <david@adaltas.com> (https://www.adaltas.com)",
12 "devDependencies": {
13 "@rollup/plugin-eslint": "^8.0.1",
14 "@rollup/plugin-node-resolve": "^13.0.6",
15 "@types/mocha": "^9.0.0",
16 "@types/node": "^16.11.7",
17 "coffeescript": "~2.6.1",
18 "csv-generate": "^4.0.2",
19 "each": "^1.2.2",
20 "eslint": "^8.2.0",
21 "mocha": "~9.1.3",
22 "pad": "~3.2.0",
23 "rollup": "^2.60.0",
24 "rollup-plugin-node-builtins": "^2.1.2",
25 "rollup-plugin-node-globals": "^1.4.0",
26 "should": "~13.2.3",
27 "ts-node": "^10.4.0",
28 "typescript": "^4.4.4"
29 },
30 "exports": {
31 ".": {
32 "import": "./lib/index.js",
33 "require": "./dist/cjs/index.cjs"
34 },
35 "./sync": {
36 "import": "./lib/sync.js",
37 "require": "./dist/cjs/sync.cjs"
38 }
39 },
40 "files": [
41 "dist",
42 "lib"
43 ],
44 "homepage": "https://csv.js.org/transform/",
45 "license": "MIT",
46 "main": "./dist/cjs/index.cjs",
47 "mocha": {
48 "inline-diffs": true,
49 "loader": "./test/loaders/all.mjs",
50 "recursive": true,
51 "reporter": "spec",
52 "require": [
53 "should"
54 ],
55 "throw-deprecation": true,
56 "timeout": 40000
57 },
58 "repository": {
59 "type": "git",
60 "url": "https://github.com/adaltas/node-csv.git",
61 "directory": "packages/stream-transform"
62 },
63 "scripts": {
64 "build": "npm run build:rollup && npm run build:ts",
65 "build:rollup": "npx rollup -c",
66 "build:ts": "cp lib/*.ts dist/cjs && cp lib/*.ts dist/esm",
67 "lint": "npm run lint:lib && npm run lint:samples && npm run lint:test",
68 "lint:lib": "eslint --fix lib/*.js",
69 "lint:samples": "eslint --fix samples/*.js",
70 "lint:test": "coffeelint --fix test/*.coffee",
71 "preversion": "npm run build && git add dist",
72 "pretest": "npm run build",
73 "test": "mocha 'test/**/*.{coffee,ts}'",
74 "test:legacy": "mocha --loader=./test/loaders/legacy/all.mjs 'test/**/*.{coffee,ts}'"
75 },
76 "type": "module",
77 "types": "dist/esm/index.d.ts",
78 "typesVersions": {
79 "*": {
80 ".": [
81 "dist/esm/index.d.ts"
82 ],
83 "sync": [
84 "dist/esm/sync.d.ts"
85 ]
86 }
87 },
88 "gitHead": "f1abfafb56b5fd1f4097967052299dacaa2d8100"
89}