-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.65 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
131
{
"author": "Christopher Froehlich",
"dependencies": {
"cross-fetch": "3.0.6",
"format-util": "1.0.5",
"iframe-resizer": "4.2.11",
"loglevel": "1.7.0",
"stacktrace-js": "2.0.2",
"typescript": "4.0.3",
"uuid-validate": "0.0.3"
},
"description": "Client JavaScript SDK",
"devDependencies": {
"@luddites-me/ts-tools": "1.1.1",
"@types/chai": "4.2.12",
"@types/chai-as-promised": "7.1.3",
"@types/format-util": "1.0.1",
"@types/glob": "^7.1.3",
"@types/jsdom": "16.2.4",
"@types/mocha": "8.0.3",
"@types/node": "14.11.2",
"@types/node-fetch": "2.5.7",
"@types/uuid-validate": "0.0.1",
"github-release-notes": "^0.17.3",
"jsdom": "16.4.0",
"nock": "13.0.4",
"node-fetch": "2.6.1"
},
"envDocumentation": {
"NODE_ENV": {
"description": "Environment name. Options are: dev, test and prod. Default: dev"
}
},
"files": [
"dist"
],
"homepage": "https://github.com/luddites-me/client-sdk#readme",
"license": "Unlicense",
"main": "dist/protect.min.js",
"name": "@luddites-me/client-sdk",
"repository": {
"type": "git",
"url": "git+https://github.com/luddites-me/client-sdk.git"
},
"scripts": {
"build": "yarn && yarn generate:exports && tsc -d && yarn bundle",
"bundle": "yarn sortJson && webpack && yarn docs:all",
"clean": "rm -rf .tmp .nyc_output api dist temp",
"count": "cloc ./src ./build ./docs",
"docs:all": "yarn docs:standardize && yarn docs:api",
"docs:api": "npx ./node_modules/@luddites-me/ts-tools/dist/docs/generateApi.js --path=./api-extractor.json",
"docs:publish": "npx ./node_modules/@luddites-me/ts-tools/dist/docs/generateApiDocs.js",
"docs:standardize": "npx ./node_modules/@luddites-me/ts-tools/dist/readme/standardizeReadme.js",
"generate:exports": "cti create ./src -w -b",
"lint": "yarn eslint -c 'node_modules/@luddites-me/ts-tools/.eslintrc.yml' 'src/**/*.ts'",
"lint:fix": "yarn prettier --write 'src/**/*.ts' && yarn lint --fix",
"sortJson": "npx ./node_modules/@luddites-me/ts-tools/dist/lint/sortJson.js",
"test": "yarn build && yarn test:only",
"test:coverage": "nyc --nycrc-path 'node_modules/@luddites-me/ts-tools/.nycrc.yml' yarn test:debug",
"test:debug": "mocha -r ts-node/register 'src/**/*.test.ts'",
"test:only": "nyc --nycrc-path 'node_modules/@luddites-me/ts-tools/.nycrc.yml' mocha 'src/**/*.test.ts'"
},
"scriptsDocumentation": {
"build": {
"description": "Assembles `src` code into a single, minified JS module with type definitions. Exports `build` scripts into a build folder.",
"dev": false
},
"bundle": {
"description": "Runs WebPack on the `src` code.",
"dev": false
},
"clean": {
"description": "Purges all temporary folders",
"dev": true
},
"count": {
"description": "Counts lines of source code.",
"dev": true
},
"docs:all": {
"description": "Standardizes markdown and generates the API metadata.",
"dev": true
},
"docs:api": {
"description": "Creates a `project-api` Markdown in docs and an `index.d.ts` file in dist.",
"dev": true
},
"docs:publish": {
"description": "Generates end-to-end documentation for the entire project and publishes it to the `gh-pages` branch.",
"dev": true
},
"docs:standardize": {
"description": "Creates or updates a new readme with a standard set of readme sections, including a toc, yarn script documention, links to repo documentation files and a license",
"dev": true
},
"generate:exports": {
"description": "Generates index.ts files for all exports recursively in the 'src' folder",
"dev": true
},
"lint": {
"description": "Lints the codebase and the documentation",
"dev": true
},
"lint:fix": {
"description": "Lints the codebase and fixes auto-correctable errors. Runs prettier on the code.",
"dev": true
},
"sortJson": {
"description": "Performs aesthetic operations to make the project files easier to navigate and read",
"dev": true
},
"test": {
"description": "Builds and then runs tests and calculates test coverage. This should be run by CI.",
"dev": true
},
"test:coverage": {
"description": "Runs tests, calculates test coverage in debug mode.",
"dev": true
},
"test:debug": {
"description": "Runs tests with the debugger attached.",
"dev": true
},
"test:only": {
"description": "Runs tests and calculates test coverage. This should be run for local development.",
"dev": true
}
},
"types": "dist/types/index.d.ts",
"version": "1.0.0"
}