-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 2.3 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
{
"name": "dom-create-element-query-selector",
"version": "1.0.5",
"description": "A utility function to create DOM elements with CSS selector-like syntax",
"main": "cjs/index.js",
"types": "src/index.d.ts",
"browser": "dist/domCreateElementQuerySelector.js",
"module": "es/index.js",
"jsxnext:main": "es/index.js",
"files": [
"dist",
"cjs",
"es",
"src"
],
"engines": {
"node": ">=4.0.0"
},
"scripts": {
"prepublish": "npm run build",
"precommit": "npm run lint:test",
"prepush": "npm run lint:test",
"release": "release-it",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"lint": "npm run lint:eslint",
"lint:eslint": "eslint src/*.js",
"test": "clear && jest",
"test:coverage": "jest --coverage ",
"test:watch": "clear && jest --watch",
"lint:test": "npm run lint && npm run test:coverage",
"build": "clear && npm run lint:test && npm run build:cjs && npm run build:es && npm run build:umd",
"build:watch": "clear && rimraf cjs && cross-env BABEL_ENV=cjs babel -w src --out-dir cjs",
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src --out-dir es",
"build:cjs": "rimraf cjs && cross-env BABEL_ENV=cjs babel src --out-dir cjs",
"build:umd": "rimraf dist && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c"
},
"keywords": [
"dom",
"create element",
"createElement",
"html",
"querySelector",
"css"
],
"author": "Laurent Blanes ([email protected])",
"license": "MIT",
"repository": "hekigan/dom-create-element-query-selector",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.17.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.16.0",
"babel-preset-stage-2": "^6.22.0",
"coveralls": "^2.11.15",
"cross-env": "^3.1.3",
"eslint": "^3.12.0",
"eslint-config-standard-extended": "^1.0.0",
"eslint-plugin-babel": "^4.0.0",
"husky": "^0.12.0",
"jest": "^18.1.0",
"release-it": "^2.5.1",
"rimraf": "^2.5.4",
"rollup": "^0.39.2",
"rollup-plugin-babel": "^2.6.1",
"rollup-plugin-bundle-size": "^1.0.1",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-uglify": "^1.0.1"
}
}