1 | {
|
---|
2 | "name": "define-data-property",
|
---|
3 | "version": "1.1.4",
|
---|
4 | "description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
|
---|
5 | "main": "index.js",
|
---|
6 | "types": "./index.d.ts",
|
---|
7 | "exports": {
|
---|
8 | ".": "./index.js",
|
---|
9 | "./package.json": "./package.json"
|
---|
10 | },
|
---|
11 | "sideEffects": false,
|
---|
12 | "scripts": {
|
---|
13 | "prepack": "npmignore --auto --commentLines=autogenerated",
|
---|
14 | "prepublish": "not-in-publish || npm run prepublishOnly",
|
---|
15 | "prepublishOnly": "safe-publish-latest",
|
---|
16 | "tsc": "tsc -p .",
|
---|
17 | "prelint": "evalmd README.md",
|
---|
18 | "lint": "eslint --ext=js,mjs .",
|
---|
19 | "postlint": "npm run tsc",
|
---|
20 | "pretest": "npm run lint",
|
---|
21 | "tests-only": "nyc tape 'test/**/*.js'",
|
---|
22 | "test": "npm run tests-only",
|
---|
23 | "posttest": "aud --production",
|
---|
24 | "version": "auto-changelog && git add CHANGELOG.md",
|
---|
25 | "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
---|
26 | },
|
---|
27 | "repository": {
|
---|
28 | "type": "git",
|
---|
29 | "url": "git+https://github.com/ljharb/define-data-property.git"
|
---|
30 | },
|
---|
31 | "keywords": [
|
---|
32 | "define",
|
---|
33 | "data",
|
---|
34 | "property",
|
---|
35 | "object",
|
---|
36 | "accessor",
|
---|
37 | "javascript",
|
---|
38 | "ecmascript",
|
---|
39 | "enumerable",
|
---|
40 | "configurable",
|
---|
41 | "writable"
|
---|
42 | ],
|
---|
43 | "author": "Jordan Harband <ljharb@gmail.com>",
|
---|
44 | "funding": {
|
---|
45 | "url": "https://github.com/sponsors/ljharb"
|
---|
46 | },
|
---|
47 | "license": "MIT",
|
---|
48 | "bugs": {
|
---|
49 | "url": "https://github.com/ljharb/define-data-property/issues"
|
---|
50 | },
|
---|
51 | "homepage": "https://github.com/ljharb/define-data-property#readme",
|
---|
52 | "dependencies": {
|
---|
53 | "es-define-property": "^1.0.0",
|
---|
54 | "es-errors": "^1.3.0",
|
---|
55 | "gopd": "^1.0.1"
|
---|
56 | },
|
---|
57 | "devDependencies": {
|
---|
58 | "@ljharb/eslint-config": "^21.1.0",
|
---|
59 | "@types/call-bind": "^1.0.5",
|
---|
60 | "@types/define-properties": "^1.1.5",
|
---|
61 | "@types/es-value-fixtures": "^1.4.4",
|
---|
62 | "@types/for-each": "^0.3.3",
|
---|
63 | "@types/get-intrinsic": "^1.2.2",
|
---|
64 | "@types/gopd": "^1.0.3",
|
---|
65 | "@types/has-property-descriptors": "^1.0.3",
|
---|
66 | "@types/object-inspect": "^1.8.4",
|
---|
67 | "@types/object.getownpropertydescriptors": "^2.1.4",
|
---|
68 | "@types/tape": "^5.6.4",
|
---|
69 | "aud": "^2.0.4",
|
---|
70 | "auto-changelog": "^2.4.0",
|
---|
71 | "es-value-fixtures": "^1.4.2",
|
---|
72 | "eslint": "=8.8.0",
|
---|
73 | "evalmd": "^0.0.19",
|
---|
74 | "for-each": "^0.3.3",
|
---|
75 | "hasown": "^2.0.1",
|
---|
76 | "in-publish": "^2.0.1",
|
---|
77 | "npmignore": "^0.3.1",
|
---|
78 | "nyc": "^10.3.2",
|
---|
79 | "object-inspect": "^1.13.1",
|
---|
80 | "object.getownpropertydescriptors": "^2.1.7",
|
---|
81 | "reflect.ownkeys": "^1.1.4",
|
---|
82 | "safe-publish-latest": "^2.0.0",
|
---|
83 | "tape": "^5.7.4",
|
---|
84 | "typescript": "next"
|
---|
85 | },
|
---|
86 | "engines": {
|
---|
87 | "node": ">= 0.4"
|
---|
88 | },
|
---|
89 | "testling": {
|
---|
90 | "files": "test/index.js"
|
---|
91 | },
|
---|
92 | "auto-changelog": {
|
---|
93 | "output": "CHANGELOG.md",
|
---|
94 | "template": "keepachangelog",
|
---|
95 | "unreleased": false,
|
---|
96 | "commitLimit": false,
|
---|
97 | "backfillLimit": false,
|
---|
98 | "hideCredit": true
|
---|
99 | },
|
---|
100 | "publishConfig": {
|
---|
101 | "ignore": [
|
---|
102 | ".github/workflows",
|
---|
103 | "types/reflect.ownkeys"
|
---|
104 | ]
|
---|
105 | }
|
---|
106 | }
|
---|