-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
64 lines (64 loc) · 1.79 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
{
"name": "polestar",
"author": "James K Nelson <[email protected]>",
"version": "0.1.2",
"description": "A commonjs-ish module loader for browsers.",
"license": "MIT",
"main": "dist/umd/polestar.js",
"module": "dist/es/polestar.js",
"types": "dist/types/index.d.ts",
"files": [
"dist/*"
],
"tags": [
"commonjs"
],
"scripts": {
"clean": "rimraf dist",
"build:es": "cross-env FORMAT=es rollup -c",
"build:umd": "cross-env FORMAT=umd NODE_ENV=development rollup -c",
"build:umd:min": "cross-env FORMAT=umd NODE_ENV=production rollup -c",
"build:types": "tsc --pretty --declaration --declarationDir dist/types --emitDeclarationOnly",
"build": "npm run clean && npm run build:types && npm run build:es && npm run build:umd && npm run build:umd:min",
"build:watch": "npm run build:es -- --watch",
"prepublish": "npm run test && npm run build",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"@types/semver": "^5.5.0",
"semver": "^5.6.0"
},
"devDependencies": {
"@types/jest": "^23.3.7",
"cross-env": "^5.2.0",
"fs-extra": "^7.0.1",
"jest": "^23.6.0",
"rimraf": "^2.6.2",
"rollup": "^0.66.6",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^3.0.0",
"rollup-plugin-typescript2": "^0.17.2",
"ts-jest": "^23.10.4",
"typescript": "3.1.6"
},
"jest": {
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"preset": "ts-jest",
"testMatch": null,
"globals": {
"ts-jest": {
"babelConfig": null,
"diagnostics": false
}
}
}
}