forked from bramstein/fontfaceobserver
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 loc) · 2.63 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
{
"name": "fontfaceobserver-es",
"version": "3.3.3",
"description": "Detect if web fonts are available",
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dmnsgn/fontfaceobserver.git"
},
"bugs": {
"url": "https://github.com/dmnsgn/fontfaceobserver/issues"
},
"homepage": "https://fontfaceobserver.com/",
"main": "dist/fontfaceobserver.cjs.js",
"browser": "dist/fontfaceobserver.umd.js",
"module": "dist/fontfaceobserver.esm.js",
"types": "src/types.d.ts",
"keywords": [
"fontloader",
"fonts",
"font",
"font-face",
"web font",
"font load",
"font events"
],
"files": [
"dist/fontfaceobserver.cjs.js",
"dist/fontfaceobserver.esm.js",
"dist/fontfaceobserver.umd.js",
"src/*.js",
"src/*.ts"
],
"author": "Bram Stein <[email protected]> (http://www.bramstein.com/)",
"contributors": [
"Damien Seguin <https://github.com/dmnsgn> (https://dmnsgn.me/)"
],
"license": "BSD-3-Clause",
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"babel-eslint": "^10.0.1",
"babel-polyfill": "^6.26.0",
"eslint": "^5.15.2",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"jsdoc": "^3.5.5",
"mocha": "^6.0.2",
"mocha-phantomjs-core": "^2.1.2",
"phantomjs-prebuilt": "^2.1.16",
"prettier": "^1.16.4",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-uglify": "^6.0.2",
"sinon": "^7.2.7",
"unexpected": "^11.2.0"
},
"scripts": {
"dev": "rollup -c -w -m inline --environment NODE_ENV:development",
"build": "rollup -c --environment NODE_ENV:production",
"clean": "rm -rf dist && rm -rf docs",
"lint": "eslint 'src/**/*.js'",
"docs": "jsdoc ./src --destination docs --readme README.md",
"preversion": "npm test && npm run lint",
"version": "npm run build && npm run docs && git add -A",
"postversion": "git push && git push --tags && npm publish",
"test": "npx phantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec"
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
}
},
"eslintIgnore": [
"node_modules"
]
}