-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2 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
{
"name": "haystack-units",
"description": "Project Haystack core units",
"keywords": [
"project haystack",
"haystack",
"core",
"units",
"typescript"
],
"license": "BSD-3-Clause",
"author": "Gareth Johnson",
"homepage": "https://github.com/j2inn/haystack-units",
"email": "support@j2inn.com",
"version": "2.0.6",
"module": "dist/index.es.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/j2inn/haystack-units"
},
"scripts": {
"lint": "eslint --ext .ts .",
"format": "prettier-eslint \"./**/*.ts\" --write",
"test": "npm run lint",
"doc": "typedoc ./src --excludePrivate",
"build": "npm run build:clean && npm run build:units && tsc --project ./tsconfig.build.json && npx rollup --file=dist/index.es.js -- build/index.js && npx rollup --format=cjs --file=dist/index.js -- build/index.js && npx copyfiles -u 1 \"./build/**/*.d.ts\" ./dist",
"build:clean": "rimraf ./dist && rimraf ./build",
"build:units": "ts-node --compiler-options={\\\"module\\\":\\\"commonjs\\\"} ./units/buildUnits && npm run format",
"analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json",
"prepack": "npm run lint && npm test && npm run build",
"checktypes": "tsc --noEmit"
},
"files": [
"dist/**/*"
],
"config": {
"unsafe-perm": true
},
"devDependencies": {
"@types/node": "^22.10.3",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"copyfiles": "^2.4.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"npm-dts": "^1.3.12",
"npm-dts-webpack-plugin": "^1.3.12",
"prettier": "^2.8.8",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.1.0",
"rimraf": "^6.0.1",
"rollup": "^3.25.1",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"typedoc": "^0.27.6",
"typescript": "^5.1.3",
"typescript-eslint-parser": "^22.0.0"
},
"sideEffects": false,
"dependencies": {
"haystack-core": "^3.0.6"
}
}