This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 4.43 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"author": "Chad Wade Day, Jr. <[email protected]>",
"babel": {
"plugins": [
[
"@babel/plugin-transform-runtime"
]
],
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage"
}
]
]
},
"browser": "dist/video-tag.js",
"browserslist": [
"> 0.25%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"bugs": {
"url": "https://github.com/cdayjr/video-tag/issues"
},
"description": "JavaScript to load third-party embed scripts for various video services.",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/runtime": "^7.9.6",
"@microsoft/tsdoc": "^0.12.19",
"@types/jest": "^25.2.2",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"autoprefixer": "^9.7.6",
"concat-cli": "^4.0.0",
"copyfiles": "^2.2.0",
"cssnano": "^4.1.10",
"eslint": "^6.0.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-node": "^0.3.3",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-compat": "^3.6.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.11.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"jest": "^25.0.0",
"jest-css-modules-transform": "^4.0.0",
"jest-diff": "^26.0.1",
"jest-environment-jsdom": "^26.0.1",
"jest-serializer-html": "^7.0.0",
"lint-staged": "^10.2.2",
"node-sass": "^4.14.1",
"parcel-bundler": "^1.12.4",
"postcss": "^8.4.31",
"postcss-import": "^12.0.1",
"postcss-modules": "^2.0.0",
"postcss-preset-env": "^6.7.0",
"postcss-syntax": "^0.36.2",
"prettier": "^2.0.5",
"rxjs": "^6.5.5",
"stylelint": "^15.10.1",
"stylelint-config-standard": "^20.0.0",
"ts-jest": "^25.5.1",
"typed-css-modules": "^0.6.3",
"typescript": "^3.9.2",
"typescript-plugin-css-modules": "^2.3.0"
},
"files": [
"dist",
"lib"
],
"homepage": "https://github.com/cdayjr/video-tag",
"husky": {
"hooks": {
"pre-commit": "npm run pre-commit"
}
},
"jest": {
"clearMocks": true,
"coverageDirectory": "./coverage/",
"globals": {
"ts-jest": {
"packageJson": "./package.json",
"tsConfig": "./tests/tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"snapshotSerializers": [
"jest-serializer-html"
],
"testMatch": [
"**/*.test.+(ts|tsx|js)"
],
"transform": {
"\\.(css|scss|less|styl)$": "jest-css-modules-transform",
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"license": "MIT",
"lint-staged": {
"*.{{t,j}son,,md,y{,a}ml,html}": [
"prettier --write"
],
"./{src,demo,tests}/**/*.{c,s{a,c},le}ss": [
"prettier --write",
"stylelint --fix --max-warnings=0",
"tcm -c -p"
],
"./{src,demo,tests}/**/*.{j,t}s": [
"prettier --write",
"eslint --fix --max-warnings=0"
]
},
"main": "lib/module.js",
"module": "lib/module.js",
"name": "video-tag",
"repository": {
"type": "git",
"url": "https://github.com/cdayjr/video-tag.git"
},
"scripts": {
"build": "npm run-script clean && npm run-script build-dist && npm run-script build-lib",
"build-dist": "parcel build ./src/video-tag.ts --target=browser --global videoTag && concat-cli -f copyright.js dist/video-tag.js -o dist/video-tag.js",
"build-lib": "tsc --build tsconfig.lib.json && prettier --write \"./lib/**/*.js\" && copyfiles -u 1 src/**/*.scss lib/",
"clean": "rm -rf ./dist ./lib",
"demo": "npm run-script clean && parcel demo/index.html --target=browser",
"lint": "npm run-script ts-check && npm run-script stylelint && npm run-script eslint",
"eslint": "eslint --fix --max-warnings=0 --no-error-on-unmatched-pattern ./{src,demo,tests}/**/*.{j,t}s",
"stylelint": "stylelint --fix --max-warnings=0 ./{src,demo,tests}/**/*.{c,s{a,c},le}ss",
"lint-staged": "npm run-script ts-check && lint-staged",
"pre-commit": "npm run-script lint-staged && git add \"./src/**/*.scss.d.ts\"",
"prepublishOnly": "npm run-script build",
"test": "jest",
"test-coverage": "jest --coverage",
"ts-check": "tsc --noEmit --project tsconfig.json"
},
"unpkg": "dist/video-tag.js",
"version": "0.7.2"
}